[CPMD-list] CPMD Installation on Mac OSX

Christian Simon csimon at ccr.jussieu.fr
Sat Dec 29 12:10:11 CET 2007


On 27 dec. 07, at 22:34, Chang Y. Won wrote:

> First of all, thank you very much for your help.

You're welcome

>> what are the compiler/linker flags that you are using?
> I used as MACOSX-XLF-G5-MPI is:
>
>        FC='mpif77 -c -g -C'

I know: this is in CPMD distribution.
The question is: what is exactly mpif77 ?
It is a wrapper, i.e. it calls xlf with some flags that do not appear  
here,
but are defined during MPI installation.
Can you give us the result of the following command:

mpif77 -show

This will show what are the "hidden" flags.
For example for me, it yields:

/opt/ibmcmp/xlf/8.1/bin/xlf_r -L/opt/mpich-mx/lib -lpmpich -lmpich - 
lpmpich -lmpich -L/opt/mx/lib -lmyriexpress -lSystemStubs

which means that FC FLAGS are overall:
-L/opt/mpich-mx/lib -lpmpich -lmpich -lpmpich -lmpich -L/opt/mx/lib - 
lmyriexpress -lSystemStubs AND -c -g -C

What version of Mac OS X do you have ?
10.3.9 or 10.4.x ? Could you type gcc -v (this will provide us info  
about libs installed)
The -lSystemStubs is 10.4 specific


> mpicc and mpiccxx  are the commands for compiling and linking C, C++.

Fine

>> II'm not allowed to install MPICH myself to my system.
> For -qextname option, I tried as MACOSX-XLF-G5-MPI is (- 
> qextname=dcopy:dgetrf:.....), and only"-qextname"

Could you ask the administrator for the configure (or even better,  
the config.log)  command used for MPICH ?

> Based on the manual of my system, the filesystem is 2 HP Itanium2  
> linux. I guess it might be Unix file system, but I'm not sure.

Weird, but ok...


--
Dr. Christian SIMON, Maitre de Conferences
Laboratoire LI2C-UMR7612                Bat. F74, piece 757
Universite Pierre et Marie Curie        Tel:+33.1.44.27.32.65
Case 51                                 Fax:+33.1.44.27.32.28
4 Place Jussieu
75252 Paris Cedex 05
France/Europe




More information about the CPMD-list mailing list