[CPMD-list] Compilation of version 3.9.2 under SGI Origin

Axel Kohlmeyer axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Wed May 4 16:21:23 CEST 2005


On Wed, 4 May 2005, Reinaldo Pis Diez wrote:

RD> 	Dear folks,

dear reinaldo,

there must be an error in your makefile. CPPFLAGS has to contain
-D__SGI and in that case fileopen.f should
contain

        OPEN(UNIT=IUNIT,FILE=FILEN(IA:IE),STATUS='OLD', POSITION='APPEND')

which works.

APPEND is non-standard with fortran77, so several vendors have used
different conventions.

regards,
	axel.

RD> 
RD> 		I'm trying to compile the new version of CPMD, 3.9.2, in a SGI 
RD> Origin using MPI. The OS is IRIX64 c2 6.5 10070055 IP27 (as output of 
RD> "uname -a") and the compilers are MIPSpro Compilers: Version 7.3.1.1m 
RD> (output of "f90 -version"). I generated the Makefile using 
RD> SGI-ORIGIN-MPI for the platform.
RD> 		The compilation stops in file fileopen.f with the following message:
RD> 
RD>         OPEN(UNIT=IUNIT,FILE=FILEN(IA:IE),STATUS='OLD',ACCESS='APPEND')
RD>                                                                ^
RD> f90-24 f90: ERROR FILEOPEN, File = ./fileopen.f, Line = 19, Column = 63
RD>    The character constant "APPEND  ", for the I/O control information
RD> list item ACCESS, is not allowed.
RD> 
RD> 		I know from fortran77 that ACCESS can be DIRECT or SEQUENTIAL. Since 
RD> I don't know how F77 evolved to F90 then I ask for help to the list.
RD> 		Thanks in advance.
RD> 		Regards,
RD> 
RD> 						Reinaldo
RD> 
RD> _______________________________________________
RD> CPMD-list mailing list
RD> CPMD-list at cpmd.org
RD> http://cpmd.org/mailman/listinfo/cpmd-list
RD> 
RD> 

-- 

=======================================================================
Dr. Axel Kohlmeyer   e-mail: axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53         Fax:   ++49 (0)234/32-14045
D-44780 Bochum  http://www.theochem.ruhr-uni-bochum.de/~axel.kohlmeyer/
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.




More information about the CPMD-list mailing list