PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Course

Gaussian g03 compiling
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
fjm



Joined: 24 May 2005
Posts: 14

PostPosted: Mon May 12, 2008 12:34 pm    Post subject: Gaussian g03 compiling Reply with quote

We have just got a new HP cluster installed under RH Linux with PGI v 7.1-6 compiler, which I think is the latest available.
I have been unable to compile g03 after several attempts.
From the make.log, the compilation fails at:
make[1]: Leaving directory `/home/software/g03'
/opt/pgi/linux86-64/7.1/bin/pgf77 -i8 '-mcmodel=medium' -mp=nonuma -O2 -tp p7
-64 -Mreentrant -Mrecursive -Mnosave -Minfo -Mneginfo -time -fast -Munroll -Mvec
t=assoc,recog,cachesize:4194304,prefetch,sse -fastsse -Mscalarsse -g -o g03 ml0.
o util.a bsd/libf77blas-em64t.a bsd/libatlas-em64t.a -lpthread -lm -lc
/usr/pgi/shared/7.1/lib64: file not recognized: Is a directory
make: *** [g03] Error 2

I have no idea why /usr/pgi/shared/7.1/lib64 (which in fact is a directory) is being included in this sentence. I have been looking at the scripts an it seems that all symbols are properly defined...
Any cue will be wellcome
Thanks
F.J. Modrego
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Mon May 12, 2008 1:39 pm    Post subject: Reply with quote

Hi,

Can you add -v to you link line and post output here? If they are too big, you can send to trs@pgroup.com and ask them to send to me.

Is it possible for you to install compilers locally and use that one? I suspect that you have a network install and the compiler driver is looking for a library in /usr/pgi/shared/7.1/lib64. If that is the case, make sure you run makelocalrc on a host that you compile to make sure that host is configured to use the compiler.

What is a hostname? Is there a file /opt/pgi/linux86-64/7.1/bin/localrc.$HOSTNAME ? $HOSTNAME is a name of your machine.

Hongyon
Back to top
View user's profile
fjm



Joined: 24 May 2005
Posts: 14

PostPosted: Wed May 14, 2008 1:34 am    Post subject: Reply with quote

Yes, it is a network install and makelocalrc has been run and it seems OK. Simple fortran programs compile and run just fine...The problem seems specific (at the moment) to g03

F.J. Modrego
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Wed May 14, 2008 8:36 am    Post subject: Reply with quote

Hi,

Can you add -v to your link line and post your command line and output here?

Hongyon
Back to top
View user's profile
fjm



Joined: 24 May 2005
Posts: 14

PostPosted: Wed May 14, 2008 9:05 am    Post subject: Reply with quote

Here are the offending lines...


make[1]: Leaving directory `/home/software/g03'
/opt/pgi/linux86-64/7.1/bin/pgf77 -v -i8 '-mcmodel=medium' -mp=nonuma -O2 -tp
p7-64 -Mreentrant -Mrecursive -Mnosave -Minfo -Mneginfo -time -fast -Munroll -M
vect=assoc,recog,cachesize:4194304,prefetch,sse -fastsse -Mscalarsse -g -o g03 m
l0.o util.a bsd/libf77blas-em64t.a bsd/libatlas-em64t.a -lpthread -lm -lc

/usr/bin/ld /usr/lib64/crt1.o /usr/lib64/crti.o /opt/pgi/linux86-64/7.1-6/libso/
trace_init.o /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtbegin.o /opt/pgi/linux86-
64/7.1-6/libso/initmp.o /opt/pgi/linux86-64/7.1-6/libso/pgfmain.o -m elf_x86_64
-dynamic-linker /lib64/ld-linux-x86-64.so.2 /opt/pgi/linux86-64/7.1-6/lib/pgi.ld
-L/opt/pgi/linux86-64/7.1-6/libso -L/usr/pgi/shared/7.1/lib64 -L/opt/pgi/linux8
6-64/7.1-6/lib -L/usr/lib64 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6 ml0.o util.
a bsd/libf77blas-em64t.a bsd/libatlas-em64t.a -lpthread -lm -lc -rpath /opt/pgi/
linux86-64/7.1-6/libso -rpath /usr/pgi/shared/7.1/lib64 -rpath /opt/pgi/linux86-
64/7.1-6/lib -o g03 /usr/pgi/shared/7.1/lib64 /opt/pgi/linux86-64/7.1-6/lib/nonu
ma.o -lpgmp -lpgbind -lpthread -lpgftnrtl -lnspgc -lpgc -lrt -lpthread -lm -lgcc
-lc -lgcc /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtend.o /usr/lib64/crtn.o
/usr/pgi/shared/7.1/lib64: file not recognized: Is a directory
pgf77-Fatal-linker completed with exit code 1

make: *** [g03] Error 2
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group