bbm.F compiling error using GFORTRAN
Posted: Thu Aug 20, 2015 4:09 pm
The compiling error:
[code]
./preprocess <bbm.F | /usr/bin/cpp -P -traditional >bbm.f90 -DMPI -DHOST=\"LinuxGfortran\" -DCACHE_SIZE=4096 -Davoidalloc -DNGZhalf -DMPI_BLOCK=262144 -Duse_collective -DscaLAPACK -DMINLOOP=1
mpif90 -ffree-form -ffree-line-length-0 -fno-second-underscore -I/opt/include -O3 -c bbm.f90
bbm.f90:357.25:
WRITE(IU6,'(A,9X,<NBAS>I5)') ' Bond-Boost: BALIST',BALIST(:)
1
Error: Unexpected element '<' in format string at (1)
make: *** [bbm.o] Error 1
[/code]
The problem is using '<NBAS>' in the output formatting, which is not supported by GNU Gfortran. How should I change the part without using intel fortran compiler? Thanks.
[code]
./preprocess <bbm.F | /usr/bin/cpp -P -traditional >bbm.f90 -DMPI -DHOST=\"LinuxGfortran\" -DCACHE_SIZE=4096 -Davoidalloc -DNGZhalf -DMPI_BLOCK=262144 -Duse_collective -DscaLAPACK -DMINLOOP=1
mpif90 -ffree-form -ffree-line-length-0 -fno-second-underscore -I/opt/include -O3 -c bbm.f90
bbm.f90:357.25:
WRITE(IU6,'(A,9X,<NBAS>I5)') ' Bond-Boost: BALIST',BALIST(:)
1
Error: Unexpected element '<' in format string at (1)
make: *** [bbm.o] Error 1
[/code]
The problem is using '<NBAS>' in the output formatting, which is not supported by GNU Gfortran. How should I change the part without using intel fortran compiler? Thanks.