geodynamics/specfem3d — pull request #216 by mpbl (2014-08-20 05:16:45+00:00)
Title: fix: hold module info when compiling w/o adios on crays

Bug report from Andreas Rietbrock on cig-seismo

Dear all,
I am trying to compile the latest specfem3d version on the new cray machine at Edinburgh. I get the following error message regarding the ADIOS module, which I do not want to use during the compilation stage. Any idea how to get rid of it. I am using the default compilation options for SPECFEM3D.
And now here is the error message:

ftn -c -o ../../obj/mesh/meshfem3D_adios_stubs.noadios.o meshfem3D_adios_stubs.f90

use adios_manager_mod
^
ftn-292 crayftn: ERROR SAVE_DATABASES_ADIOS, File = meshfem3D_adios_stubs.f90, Line = 12, Column = 7
"ADIOS_MANAGER_MOD" is specified as the module name on a USE statement, but the compiler cannot find it.

Cray Fortran : Version 8.2.6 (u82112f82278i82266p82476a82026e82015z82474)
Cray Fortran : (x8241r82029w82012t8217b82047k82024)
Cray Fortran : Tue Aug 19, 2014 10:51:28
Cray Fortran : Compile time: 0.0040 seconds
Cray Fortran : 15 source lines
Cray Fortran : 1 errors, 0 warnings, 0 other messages, 0 ansi
Cray Fortran : "explain ftn-message number" gives more information about each message.
make[1]: *** [../../obj/mesh/meshfem3D_adios_stubs.noadios.o] Error 1
make[1]: Leaving directory `/fs3/n03/n03/andreas/source/specfem3d/src/meshfem3D'
make: *** [xmeshfem3D] Error 2