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

Axel Kohlmeyer axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Wed May 4 18:06:07 CEST 2005


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

RD> 	Dear Axel,
RD> 
RD> > 
RD> > there must be an error in your makefile. CPPFLAGS has to contain
RD> > -D__SGI and in that case fileopen.f should
RD> > contain
RD> > 
RD> >         OPEN(UNIT=IUNIT,FILE=FILEN(IA:IE),STATUS='OLD', POSITION='APPEND')
RD> > 
RD> > which works.
RD> > 
RD> 
RD> 		You're right. The Makefile has the flag -D__SGI in CPPFLAGS. I 
RD> changed ACCESS to POSITION in fileopen.f and the compilation suceeded. 
RD> Now, I'm running some test jobs to check that cpmd.x was correctly built.

dear reinaldo,

if fileopen.f had ACCESS instead of POSITION then there is
a high chance, that other files have been preprocessed wrong 
as well. perhaps those files were a leftover from a previous compile.
you _always_ should do a 'make clean; make' to recompile everything
after changing the makefile.
the real source is fileopen.F and not fileopen.f. the latter one
is just created from the former by running it through the preprocessor.

i just checked, and there are several files, that have
#ifdef __SGI clauses, so you should really check carefully.

regards,
	axel.



RD> 		Thanks for your help.
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