This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Gfortran does not compile dynamo (and others)
- From: Ignacio Fernández Galván <jellby at yahoo dot com>
- To: fortran at gcc dot gnu dot org
- Date: Tue, 23 Jan 2007 08:54:51 +0000 (GMT)
- Subject: Gfortran does not compile dynamo (and others)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=aDoSfKXsdTypvmGSHqAe29iNembKzOgs6GvSDjRjHmggQgVQpMthsgyuLNVeabDh43UxoQ8fTb3dC8vATSMBVHzh9h5HcERBACj/HlpnI+/Chdfd6PWdGvGC+b7ytl3AUZXQsgo5PD5NKchbiqh4d6fyUF5XBsHDSQg+L0FkdMc=;
Hello all,
I tried compiling the dynamo molecular dynamics library
(<http://www.pdynamo.org/Installation.html>), but I got "internal
compiler error: Segmentation fault" with energy.f90. This is what I
did:
- Download and unpack the source code.
- In the Makefile, set FC=gfortran and FFLAGS="-c -I$(MOD_DIR)
-J$(MOD_DIR) -O3".
- In source/definitions.f90, comment out the lines for NAG (USE
F90_KIND, declarations of DP and SP) and uncomment the corresponding
declaractions of DP and SP.
- Run "DYNAMO_HOME=. make"
I've tried with the latest binary build for Linux (gcc version 4.3.0
20070123), in a Mandriva 2007 box. It works OK with Intel compiler.
By the way, I also could not compile the quantum chemistry programs
Gaussian 98 and Molcas 6.4, but since these are commercial programs, I
cannot provide the source. Has anyone been able to compile them?
Actually, the compiliation seems to go fine (after some changes in code
and building scripts), but when running the program, Molcas stops with
"signal 11" and Gaussian says that "internal file was deleted" or
something similar. Both programs can be compiled and run with g77.
Thanks for reading me
Ignacio
___________________________________________________________
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk