[Wien] Re: compiling Wien with lf95

Michel Jaouen Michel.Jaouen at univ-poitiers.fr
Thu Dec 16 11:43:08 CET 2004


	Dear Dr. Chandra,

	Thank you for your attentio about my problem.

>  >	I experience a lot of trouble when trying to compile
>  > WIEN2k_04 under Linux Red Hat 7.2 using Lahey lf95. I have try
>>  several options, but it always failed. So my question is simple: has
>>  anybody been successful and what are the options to be used?
>
>I am using Lahey lf95 with Fedora Core 1 and I have been able to compile
>the codes without any problems using the default options. If you want to
>compile the code for mpi, then you have to compile the atlas library
>separately. I have used lf95 and gcc with the lapack and blas library
>compiled in the SRC_lib directory. If you tell precisely what are the
>compilation errors, I can try to help.

Here is an example of the compile message error concerning spacegroup.f

rm -f spacegroup.o
clean
lf95 -c -O spacegroup.f
   1110-S: "param.inc", line 3, column 64: Missing name.
   1302-S: "param.inc", line 4: Not a valid FORTRAN statement.
   1110-S: "param.inc", line 6, column 67: Missing name.
   1302-S: "param.inc", line 7: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 8: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 9: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 10: Not a valid FORTRAN statement.
   2005-W: "spacegroup.f", line 27: ndim is used but never set.
   1104-S: "spacegroup.f", line 47, column 73: Invalid delimiter.
   1302-S: "spacegroup.f", line 48: Not a valid FORTRAN statement.
   1110-S: "param.inc", line 3, column 64: Missing name.
   1302-S: "param.inc", line 4: Not a valid FORTRAN statement.
   1110-S: "param.inc", line 6, column 67: Missing name.
   1302-S: "param.inc", line 7: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 8: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 9: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 10: Not a valid FORTRAN statement.
   1113-S: "spacegroup.f", line 135, column 73: Syntax error in data 
statement value list.
   1302-S: "spacegroup.f", line 136: Not a valid FORTRAN statement.
   1113-S: "spacegroup.f", line 137, column 73: Syntax error in data 
statement value list.
   1302-S: "spacegroup.f", line 138: Not a valid FORTRAN statement.
   1113-S: "spacegroup.f", line 175, column 73: Syntax error in data 
statement value list.
   1302-S: "spacegroup.f", line 176: Not a valid FORTRAN statement.
   1113-S: "spacegroup.f", line 177, column 73: Syntax error in data 
statement value list.
   1302-S: "spacegroup.f", line 178: Not a valid FORTRAN statement.
   1110-S: "param.inc", line 3, column 64: Missing name.
   1302-S: "param.inc", line 4: Not a valid FORTRAN statement.
   1110-S: "param.inc", line 6, column 67: Missing name.
   1302-S: "param.inc", line 7: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 8: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 9: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 10: Not a valid FORTRAN statement.
   1233-S: "spacegroup.f", line 228, column 73: Invalid statement 
specified in IF statement.
   1302-S: "spacegroup.f", line 229: Not a valid FORTRAN statement.
   1233-S: "spacegroup.f", line 236, column 71: Invalid statement 
specified in IF statement.
   2005-W: "spacegroup.f", line 266: ndim is used but never set.
   1104-S: "spacegroup.f", line 267, column 22: Invalid delimiter.
   1130-S: "spacegroup.f", line 299, column 7: ELSE statement appears 
in invalid position.
   1104-S: "spacegroup.f", line 306, column 20: Invalid delimiter.
   1130-S: "spacegroup.f", line 308, column 7: END IF statement 
appears in invalid position.
   1035-S: "spacegroup.f", line 325, column 64: Invalid operator.
   1302-S: "spacegroup.f", line 326: Not a valid FORTRAN statement.
   1302-S: "spacegroup.f", line 327: Not a valid FORTRAN statement.
   1110-S: "param.inc", line 3, column 64: Missing name.
   1302-S: "param.inc", line 4: Not a valid FORTRAN statement.
   1110-S: "param.inc", line 6, column 67: Missing name.
   1302-S: "param.inc", line 7: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 8: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 9: Not a valid FORTRAN statement.
   1302-S: "param.inc", line 10: Not a valid FORTRAN statement.
   1035-S: "spacegroup.f", line 394, column 59: Invalid operator.
   1302-S: "spacegroup.f", line 395: Not a valid FORTRAN statement.
   0102-U: "spacegroup.f", line 395: Compilation terminated - too many 
serious errors.
Encountered 51 errors, 2 warnings in file spacegroup.f.
make: *** [spacegroup.o] Error 1

In fact it is the same for all files: it seems that the compiler 
doesn't recognize the file as being Fortran! Looking at the .f file 
under vi, I don't see anything special.

Any hints?

Regards

Michel Jaouen
-- 
__________________________________________

  Michel Jaouen
  Universite de Poitiers - UFR Sciences - SP2MI
  LMP UMR 6630-CNRS
  Boulevard Pierre et Marie Curie - Teleport 2
  BP 30179
  86962 Futuroscope - Chasseneuil Cedex
   France
  Tel : (33) 5 49 49 67 37
  Fax : (33) 5 49 49 66 92
  e-mail : Michel.Jaouen at univ-poitiers.fr
__________________________________________




More information about the Wien mailing list