Compile yambo-3.2.3-rev.11
Posted: Sat Mar 19, 2011 3:39 am
Dear developers:
I try to complie v-3.2.3,but met some problem. I have two option:
My configure is:
1)../configure --with-iotk=/home/sdwang/espresso-4.1.2/iotk/ --with-p2y=4.0 --with-mpi=/home/sdwang/mpich2/lib/libmpichf90.a,but it appears error: checking for unoptimized flags... -O0 -mtune=native
checking how to get verbose linking output from gfortran... configure: WARNING: compilation failed
checking for Fortran libraries of gfortran...
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... configure: error: in `/home/sdwang/yambo-3.2.3-rev.11':
configure: error: cannot compile a simple Fortran program
See `config.log' for more details. And, the config1.log is in attachment. .In v-3.2.1, this procedure is well.
2).WhenI type :./configure --with-iotk=/home/sdwang/espresso-4.1.2/iotk/ --with-p2y=4.0 --with-mpi=/home/sdwang/mpich2/lib/libmpichf90.a FC=ifort,it works,and the parellel [X] MPI is appear. But in config.log, it can not find the PATH of /home/sdwang/mpich2/bin ,so I cant perform parallel calculation instead of serial one.This correponds to config2.log
How can I solve this problem?(The mpich2 is in my own dir:/home/sdwang, mpich is in /usr/local/, mpich does not work with it, so I install mpich2 in my own dir)
(1) the compiler ( intel 9.0)
(2) the architecture (x86_64-redhat-linux/3.4.4/,HP clusters)
(3)compiling in parallel
(4) the version of Yambo (yambo-3.2.3-rev.11)
I try to complie v-3.2.3,but met some problem. I have two option:
My configure is:
1)../configure --with-iotk=/home/sdwang/espresso-4.1.2/iotk/ --with-p2y=4.0 --with-mpi=/home/sdwang/mpich2/lib/libmpichf90.a,but it appears error: checking for unoptimized flags... -O0 -mtune=native
checking how to get verbose linking output from gfortran... configure: WARNING: compilation failed
checking for Fortran libraries of gfortran...
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... configure: error: in `/home/sdwang/yambo-3.2.3-rev.11':
configure: error: cannot compile a simple Fortran program
See `config.log' for more details. And, the config1.log is in attachment. .In v-3.2.1, this procedure is well.
2).WhenI type :./configure --with-iotk=/home/sdwang/espresso-4.1.2/iotk/ --with-p2y=4.0 --with-mpi=/home/sdwang/mpich2/lib/libmpichf90.a FC=ifort,it works,and the parellel [X] MPI is appear. But in config.log, it can not find the PATH of /home/sdwang/mpich2/bin ,so I cant perform parallel calculation instead of serial one.This correponds to config2.log
How can I solve this problem?(The mpich2 is in my own dir:/home/sdwang, mpich is in /usr/local/, mpich does not work with it, so I install mpich2 in my own dir)
(1) the compiler ( intel 9.0)
(2) the architecture (x86_64-redhat-linux/3.4.4/,HP clusters)
(3)compiling in parallel
(4) the version of Yambo (yambo-3.2.3-rev.11)