Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gaussian C02 compilation problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
olejseba
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2005
Posts: 95

PostPosted: Sat Jun 24, 2006 9:04 am    Post subject: Gaussian C02 compilation problem Reply with quote

I'm trying to compile Gaussian 03 (C02) on gentoo with PGI 6 on a
2x opteron machine. The compile fails when it gets to building ml0.f
with the following error (snipped to get message size down):

Code:
pgf77 -i8 '-mcmodel=medium'  -mp  -O2 -tp k8-64 -Mreentrant -Mrecursive
-Mnosave -Minfo -Mneginfo -time -fast -Munroll
-Mvect=assoc,recog,cachesize:1048576 -g -o g03 ml0.o
util.a /usr/lib/libgoto_prescott64p-r1.00.so -lm -lc
util.a(chain.o): In function `chain_':
chain.f:(.text+0x24f): undefined reference to `intowp_'
chain.f:(.text+0x2ad): undefined reference to `intowp_'
chain.f:(.text+0x527): undefined reference to `intowp_'
chain.f:(.text+0x5ba): undefined reference to `intowp_'
chain.f:(.text+0x92f): undefined reference to `ntstat_'
chain.f:(.text+0x9aa): undefined reference to `ntstat_'
chain.f:(.text+0xa25): undefined reference to `ntstat_'
chain.f:(.text+0xaa0): undefined reference to `ntstat_'
chain.f:(.text+0xabf): undefined reference to `ntrclo_'
chain.f:(.text+0xb1b): undefined reference to `ntstat_'
chain.f:(.text+0xb37): undefined reference to `ntrclo_'
util.a(fclose.o): In function `fclose_':

Any ideas?

Thanks in advance,
Back to top
View user's profile Send private message
B.marc
n00b
n00b


Joined: 16 Oct 2005
Posts: 40
Location: Braunschweig / Germany

PostPosted: Fri Aug 04, 2006 12:49 pm    Post subject: Reply with quote

I had a problem with Gaussian 03 (C02), too. After contacting support, they said to change the script "bsd/cachsize" to this
Code:
#!/bin/csh -f
grep "cache size" /proc/cpuinfo | uniq | tr -d "[:alpha:][:punct:]"


I used pgi 6.1-3 as Fortran compiler. I also tried the suggested pgi 5.1-6, but this did NOT work. This was all done on an dual processor board with two opterons.

Regards,
Marc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
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