由买买提看人间百态

topics

全部话题 - 话题: lfmpich
(共0页)
t**********g
发帖数: 85
1
来自主题: Computation版 - Portland fortran problem, need help!
I am trying to compile a parallel fortran package in a beowulf cluster,
my compiler is Portland Fortran90. I got a very strange problem, following is
error message, does anybody know what's the problem?

make
pgf90 -O -lfmpich -lmpich skgen.f -c
pgf90 -O -lfmpich -lmpich zxssq.f -c
pgf90 -O -lfmpich -lmpich ludec.f -c
pgf90 -O -lfmpich -lmpich luelm.f -c
pgf90 -O -lfmpich -lmpich uertt.f -c
pgf90 -O -lfmpich -lmpich func.f -c
pgf90 -O -lfmpich
t**********g
发帖数: 85
2
来自主题: Computation版 - Portland fortran problem, need help!
Thank you for your reply. However, I think I linked mpi library. See the
message from making executable file
pgf90 -O -lfmpich -lmpich skgen.f -c
pgf90 -O -lfmpich -lmpich zxssq.f -c
pgf90 -O -lfmpich -lmpich ludec.f -c
Is this the correct way to link?
The makefile which is related:
SHELL=/bin/csh
#
CFT= pgf90
LDR= pgf90
# On IBM set all constants to double precision (Alpha does this automatically)
FFLAGS = -O -lfmpich -lmpich
# FFLAGS = -O -L/usr/pgi/linux86/lib/libpgf90.a
# FFL
t****n
发帖数: 39
3
来自主题: Computation版 - Portland fortran problem, need help!
You didn't link the mpi library when make your executable file.
You need add -lfmpich -lmpich options in your makefile
(共0页)