Previous Thread
Next Thread
Print Thread
#28944 12/16/11 07:14 PM
Joined: Feb 2011
Posts: 31
J
Forum Member
OP Offline
Forum Member
J
Joined: Feb 2011
Posts: 31
Hi

I am trying to compile c35b5 on AMD opteron at TACC Ranger with the following :install.com gnu xxlarge M x86_64
and get the following error:

pgf90-Error-Unknown switch: -fdefault-integer-8
pgf90-Error-Unknown switch: -frecord-marker=4
make: *** [/work/01899/jeadler/bin/c35b5/exec/gnu/charmm] Error 1

Any suggestions would be much appreciated.

Thanks

Jeremy

Joined: Sep 2003
Posts: 4,883
Likes: 12
Forum Member
Offline
Forum Member
Joined: Sep 2003
Posts: 4,883
Likes: 12
This is a bit weird - you ask for the default compiler (gfortran) and get the pgi compiler, presumably through the mpif90 wrapper. Rick probably knows more about this, but you could try adding the pgi flag to the install.com and also ask for mpi90 to handle the compilations:
install.com gnu xxlarge M MPIF90 x86_64 PGF95


Lennart Nilsson
Karolinska Institutet
Stockholm, Sweden
Joined: Sep 2003
Posts: 8,660
Likes: 26
rmv Offline
Forum Member
Offline
Forum Member
Joined: Sep 2003
Posts: 8,660
Likes: 26
There is a specific forum here for installation questions; please post questions in the appropriate forum, and not simply the first one listed.

The install.com syntax above expects gfortran, but the errors are from pgf90; that is unexpected, and suggests some changes have been made to the distributed files. If you run install.com w/o args you'd notice the PGIF95 keyword is required to override the gfortran default.


Rick Venable
computational chemist

Joined: Feb 2011
Posts: 31
J
Forum Member
OP Offline
Forum Member
J
Joined: Feb 2011
Posts: 31
Hi

I tried lennart's suggestion and got the error that it couldn't find lmpi:

/opt/apps/binutils-amd/070220/bin/ld: cannot find -lmpi
make: *** [/work/01899/jeadler/bin/c35b5/exec/gnu/charmm] Error 2

Any suggestion workarounds for this?

Thanks

Jeremy

Joined: Sep 2003
Posts: 4,883
Likes: 12
Forum Member
Offline
Forum Member
Joined: Sep 2003
Posts: 4,883
Likes: 12
mpif90 should know where the libraries are - that's why we use it; can you compile, link and run other mpi programs? If you know where the mpi libraries are you can remove the MPIF90 keyword from the install.com command line. This is all more of an issue for your system administrators than a CHARMM issue.


Lennart Nilsson
Karolinska Institutet
Stockholm, Sweden

Moderated by  lennart, rmv 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Release build 20201027)
Responsive Width:

PHP: 7.3.31-1~deb10u5 Page Time: 0.015s Queries: 24 (0.010s) Memory: 0.7455 MB (Peak: 0.7988 MB) Data Comp: Off Server Time: 2023-12-07 13:50:59 UTC
Valid HTML 5 and Valid CSS