[molpro-user] undefined reference error compiling single proc molpro 2002.10 on opteron
Kirk Peterson
kipeters at wsu.edu
Tue Feb 21 21:05:09 GMT 2006
Benj,
I would carefully check your make logfile - it looks like src/util/
gmainv.c did not compile correctly.
-Kirk
On Feb 21, 2006, at 12:37 PM, Benj FitzPatrick wrote:
> Hello,
> I managed to get the parallel version compiled using GOTO blas
> and lapack (pathscale 2.3 and patchlevel 518), but when I try
> to compile the single processor
> version it fails. I have tried cleaning out the directory and
> running ./configure again as well as just adapting my mpp
> CONFIG (attached). The errors are listed below:
> Thanks,
> Benj FitzPatrick
> University of Chicago
>
> molver.f: compiling ... done
> linking /ab/molpro-2002_10/test/2/bin/molpros_2002_10_i8.exe
> link failed
> /opt/pathscale/bin/pathf90-2.3 -i8 -fno-second-underscore
> -woff -align64 -Wl,-rpath=/ab -Wl,-rpath=/ab -I./global -O3
> -OPT:Ofa
> st -o /ab/molpro-2002_10/test/2/bin/molpros_2002_10_i8.exe
> molver.o molpro.o -L/ab/molpro-2002_10/test/2/lib -lmolpro
> -lgks0 -
> L/ab/ -llapack -L/ab/ -lgoto /usr/lib64/libpthread.so -lz
> /ab/molpro-2002_10/test/2/lib/libmolpro.a(molpro_mem.o): In
> function `inicor_':
> /comp/ab/molpro-2002_10/test/2/src/util/molpro_mem.f:81:
> undefined reference to `fmain_'
> /comp/ab/molpro-2002_10/test/2/src/util/molpro_mem.f:103:
> undefined reference to `fmain_'
> /comp/ab/molpro-2002_10/test/2/src/util/molpro_mem.f:106:
> undefined reference to `gmainv_'
> /ab/molpro-2002_10/test/2/lib/libmolpro.a(molpro_mem.o): In
> function `endcor_':
> /comp/ab/molpro-2002_10/test/2/src/util/molpro_mem.f:346:
> undefined reference to `fmain_'
> collect2: ld returned 1 exit status
> <CONFIG>
More information about the Molpro-user
mailing list