[Wien] [SPAM?] AW: Installation Problems: Cygwin FreeBSD

2008-09-01 Thread Gerhard Fecher
Nice idea and possibly it would be interesting to see how Wien2k performs in 
such an environment if it does at all.

But there is no need to wait for a box. For example:

Go to http://www.opensuse.org/ continue to http://software.opensuse.org/
Download the 64-bit (!) Version (DVD)
There are also  Start-Up guide and  Step-by-step installation guide
Check the install options, you may need to check the installation for 
development to be sure
that all needed libraries are installed, otherwise you can do it in a later 
step.
(with a liitle experience one can use the Network installation what is probably 
faster (depending on the web access)
because no one will need the 4.7 GByte of the distribution)
You can easily install it in parallel to Windows or an other operating system.
(I am running XP and Suse since years in parallel on my Notebook and had no 
troubles
other then by mistakes I did by myself.)

next
go to the Intel homepage http://www.intel.com and there to products, software, 
linux development,
on the US page you will find for example 
http://www.intel.com/cd/software/products/asmo-na/eng/219768.htm
choose free non-commercial download and accept the terms of use, then download 
after registration
   Intel? Fortran Compiler Professional Edition for Linux
   Intel? Math Kernel Library (Intel? MKL) for Linux
Read the install guides and release notes and install Fortran and MKL

If your web access is not very slow and you do not do stupid things then you 
have Wien running very well in latest 1/2 day
on youre Intel Core 2 6400.


Ciao
Gerhard

PS.: before someone complains: There are other Linux distributions you can also 
download for free, but I do not have the links.



Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at 
zeus.theochem.tuwien.ac.at] im Auftrag von Gavin Abo [gsabo at bama.ua.edu]
Gesendet: Montag, 1. September 2008 02:14
An: wien at zeus.theochem.tuwien.ac.at
Betreff: [Wien] [SPAM?] Installation Problems: Cygwin  FreeBSD

Hi,

I'm a new user of WIEN2k and still an amateur with Linux.  I would like to get 
started using Cygwin and FreeBSD until we get an actual Linux box such as with 
Red Hat.  I'm having trouble with the base programs and compiling of WIEN2k, 
which I will describe in more detail below along with my questions.  If anyone 
has some instructions written up for installing on either or can further be of 
help,  please let me know.  Thanks in advance. -Gavin

1) Cygwin

Running Windows XP with Cygwin, Intel Core 2 6400 @ 2.13 GHz processor, 2 GB 
RAM, and a 250 GB hard drive.

I installed g95 by following the compiling instructions at:

http://www.g95.org/src.shtml

I made a symbolic link with help from:

http://www.g95.org/docs.html#starting

I installed Lapack using the setup.exe and choosing lapack under the math 
category.

I expanded the WIEN2k distribution according to the User's Guide.

I then ran ./siteconfig_lapw using generic.

I set the fortran compiler to g95 and the C compiler to gcc (expect it will 
call cygwin package rather than from g95 install).

According to a past post, I should use -O for the compiler options:

http://zeus.theochem.tuwien.ac.at/pipermail/wien/2004-December/004226.html

If I compile with the options below, I get errors.  I know there is problem 
with using these options, since the compiler is not finding the lapack library 
(not sure where the library is located and how it can be passed through 
./siteconfig_lapw).  Thus, this is were I'm stuck.

O   Compiler options:-O
L   Linker Flags:-L../SRC_lib
P   Preprocessor flags   '-DParallel'
R   R_LIB (LAPACK+BLAS): -llapack_lapw

What compiler options might I use?

2) FreeBSD

Running FreeBSD 5.4, AMD Athlon XP 2800+ processor, 1 GB RAM, and a 120 GB hard 
drive.

I'm more stuck here.  How can I install ifc, g95, or gfortran?  I tried the 
FreeBSD x86 binary (current snapshot) from here:

http://ftp.g95.org/

However, it seems to be only for version 7 since I get an error stating 
/libexec/ld-elf.so.1: Shared object libc.so.7 not found, required by g95.  
They have other binary versions, but I see no indication of what FreeBSD 
version the binary is for.

I see gfortran under /usr/ports/lang/gfortran.  However, when I try to run a 
make install clean, I get an error that gcc-core-4.0-20050319.tar.bz2 doesn't 
seem to exist in /usr/ports/distfiles/.

I found instructions on installing ifc in FreeBSD here:

http://ezine.daemonnews.org/200209/ifc.html

However, the instructions seem to be old as freshports shows that the 
linux_devtools-7 package has been deleted:

http://www.freshports.org/devel/linux_devtools-7/

I thought I read somewhere that FreeBSD has an Linux emulation layer built in, 
so I'm wondering if the emulation package above is necessary or if there is an 
alternative package in use.

I can download the latest ifc (Releases 8.0 - 10.1) and mkl (9.0 - 10.0) 
packages for linux.  What is the 

[Wien] About EELS calculate

2008-09-01 Thread pf.g...@imr.tohoku.ac.jp
Dear Peter:

Thank for your help! but where can I find the NiO example?

By the way, how can I claculate the electron charge distribution in a unit cell 
as a functionod z?(how ro integrated over the xy-plane?)

*
Pengfei GUAN
International Frontier Center for Advanced Materials
Institute for Materials Research
Tohoku University
2-1-1 Katahira, Aoba-ku, Sendai 980-8577, Japan
Tel: +81-22-215-2139
Fax: +81-22-215-2194
Email: pf.guan at imr.tohoku.ac.jp
* 




[Wien] memory configuration for k-point parallelization

2008-09-01 Thread Tomohiko Tasaka
Dear wien2k users,

 

I heard that the k-point parallel calculation with wien2k old version

needs huge physical memory for a master node. The reason is that

the master node (job submitting node) collects many distributed results

which are calculated by each calculation node, at the same time.

Therefore, there is difficulty in executing k-point parallel calculation

for the large system (e.g. 100 atoms per unit cell).

 

is this correct regardless of the version? please advise.

 

Any information would be appreciated.

 

With best regards,

Tomo

 

-- next part --
An HTML attachment was scrubbed...
URL: 
http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20080901/89765757/attachment.html


[Wien] memory configuration for k-point parallelization

2008-09-01 Thread Peter Blaha
For a case with 100 atoms/cell most likely you will have only 1 k-point,
thus k-point parallel is not possible, only mpi-parallel.

In case you have a metallic (magnetic) case, you may still have a few
k-points and than k-parallel is still most efficient, provided the
memory (RAM) is large enough ON EACH NODE (has nothing to do with the
master node).

If you have enough nodes available, one can also mix k-point and mpi-parallel
mode, eg. when you have 4-kpoints, but you have 16 nodes, run 4-mpi-jobs
per k-point.

mpi-version only with the most recent versions.

Tomohiko Tasaka schrieb:
 Dear wien2k users,
 
  
 
 I heard that the k-point parallel calculation with wien2k old version
 
 needs huge physical memory for a master node. The reason is that
 
 the master node (job submitting node) collects many distributed results
 
 which are calculated by each calculation node, at the same time.
 
 Therefore, there is difficulty in executing k-point parallel calculation
 
 for the large system (e.g. 100 atoms per unit cell).
 
  
 
 is this correct regardless of the version? please advise.
 
  
 
 Any information would be appreciated.
 
  
 
 With best regards,
 
 Tomo
 
  
 
 
 
 
 ___
 Wien mailing list
 Wien at zeus.theochem.tuwien.ac.at
 http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien

-- 

   P.Blaha
--
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-15671 FAX: +43-1-58801-15698
Email: blaha at theochem.tuwien.ac.atWWW: http://info.tuwien.ac.at/theochem/
--


[Wien] About EELS calculate

2008-09-01 Thread Peter Blaha
http://www.wien2k.at/events/ws2008/talks/Exercises_08.pdf

or in $WIENROOT/example_struct_files/coo.struct

pf.guan at imr.tohoku.ac.jp schrieb:
 Dear Peter:
 
 Thank for your help! but where can I find the NiO example?
 
 By the way, how can I claculate the electron charge distribution in a unit 
 cell as a functionod z?(how ro integrated over the xy-plane?)

Numerically by your own integration of charge densities in planes calculated by 
lapw5.
Beware of large numerical errors !

 
 *
 Pengfei GUAN
 International Frontier Center for Advanced Materials
 Institute for Materials Research
 Tohoku University
 2-1-1 Katahira, Aoba-ku, Sendai 980-8577, Japan
 Tel: +81-22-215-2139
 Fax: +81-22-215-2194
 Email: pf.guan at imr.tohoku.ac.jp
 * 
 
 
 ___
 Wien mailing list
 Wien at zeus.theochem.tuwien.ac.at
 http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien

-- 

   P.Blaha
--
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-15671 FAX: +43-1-58801-15698
Email: blaha at theochem.tuwien.ac.atWWW: http://info.tuwien.ac.at/theochem/
--


[Wien] electron density plots

2008-09-01 Thread shouxincui shouxincui
Dear Wien Users,
I have a question about electron density plots. How to write the name of atoms 
on the picture of electron density in the program ? I know the software (for 
example Coredraw) can do this. Who can write a shell bash program to gnuplot to 
write the name of atoms? 
Could you help me? Thanks.
Best regards,
Cui



  
-- next part --
An HTML attachment was scrubbed...
URL: 
http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20080902/efa5a09e/attachment.html