configure with openmpi
Posted: Tue Oct 05, 2010 12:25 pm
I want to compile yambo v-3.2.1 with openmpi-1.2.1, but I do not kown what is correct in ./configure.For example, I compile with mpich , I can type:
./configure --with-iotk=/home/sdwang/espresso-4.1.2/iotk/ --with-p2y=4.0 --with-mpi=/usr/local/mpich/lib/libmpichf90.a
But for opemmpi, I type
./configure --with-iotk=/home/sdwang/espresso-4.1.2/iotk/ --with-p2y=4.0 --with-mpi=/home/sdwang/openmpi/lib/libmpi_f90.la, it complaits:
>>>[Linking yambo]<<<
make[1]: Entering directory `/home/sdwang/yambo-3.2.1-r.448/driver'
yambo_driver.F
/home/sdwang/openmpi/lib/libmpi_f90.la: file not recognized: File format not recognized
make[1]: *** [yambo] Error 1
make[1]: Leaving directory `/home/sdwang/yambo-3.2.1-r.448/driver'
make: *** [yambo] Error 2
I do not kown what is correct in openmpi for --with-mpi=/home/sdwang/openmpi/lib/...(what I should write here?)
Thanks!
SDWang
./configure --with-iotk=/home/sdwang/espresso-4.1.2/iotk/ --with-p2y=4.0 --with-mpi=/usr/local/mpich/lib/libmpichf90.a
But for opemmpi, I type
./configure --with-iotk=/home/sdwang/espresso-4.1.2/iotk/ --with-p2y=4.0 --with-mpi=/home/sdwang/openmpi/lib/libmpi_f90.la, it complaits:
>>>[Linking yambo]<<<
make[1]: Entering directory `/home/sdwang/yambo-3.2.1-r.448/driver'
yambo_driver.F
/home/sdwang/openmpi/lib/libmpi_f90.la: file not recognized: File format not recognized
make[1]: *** [yambo] Error 1
make[1]: Leaving directory `/home/sdwang/yambo-3.2.1-r.448/driver'
make: *** [yambo] Error 2
I do not kown what is correct in openmpi for --with-mpi=/home/sdwang/openmpi/lib/...(what I should write here?)
Thanks!
SDWang