[RegCNET] compiling with mpif90 or ifort -openmp
IMRAN NADEEM
qphoton at gmail.com
Tue Feb 23 15:06:22 CET 2010
Dear All,
On one of our shared memory machines, openmpi is compiled with
gfortran. As ifort is also installed on the machine, so I requested system
administrator
to build and install openmpi with ifort. I got reply that I can use the
same openmpi installation with ifort by using -openmpi flag with ifort like
ifort -openmpi
I tried the by replacing "ifort" with ifort "-openmpi" in Makefile_IFC8 in
Main Directory. Compliation was OK but got lot of errors at linking stage
like:
bdyin.o: In function `bdyin_':
bdyin.f:(.text+0x47c): undefined reference to `mpi_abort_'
bdyin.f:(.text+0x608): undefined reference to `mpi_abort_'
bdyin.f:(.text+0xf70): undefined reference to `mpi_bcast_'
bdyin.f:(.text+0xfb2): undefined reference to `mpi_scatter_'
bdyin.f:(.text+0x1431): undefined reference to `mpi_sendrecv_'
bdyuv.o: In function `bdyuv_':
.....................
..................
..................
Any idea.
Thanks in advance
Imran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20100223/3f7a8907/attachment-0001.html>
More information about the RegCNET
mailing list