Compiler specific pitfalls
Last Update: Feb. 25, 2003
This page contains
information on problems which can arise for various compilers. ISBA is
coded in standard Fortran90, but some compilers have been known to have
problems with some code and default compile options which work on other
machines/compilers. This page was begun in February, 2003, and will be
updated as needed.
1) The Intel Fortran90 compiler
for Linux (and perhaps for other compilers not yet tested) was found to
have problems with the length of some lines in the F90 source code. Using
the following compile option:
ifc -132 file_names*f90
where 'file_names' represents the
list of ISBA-TEB F90 routines. The -132 option (maximum line length) was
found to permit successful compilation.
2) In the "stand-alone" driver (driver.f90),
the following line has caused the model to blow up:
WRITE(*,'(2I6)', ADVANCE='NO')JDAY,JDAYJUL
When
, ADVANCE='NO'
is deleted, execution is successful.
This problem was found on several compilers, and the time of the blow-up
is different for different machines. But note, this line is considered
standard Fortran90.
|