[CIG-SEISMO] compilation specfem3D on cray

Rietbrock, Andreas A.Rietbrock at liverpool.ac.uk
Wed Aug 20 04:44:10 PDT 2014


Dear Matthieu,


Thanks for helping me out.. I added the comiplation flags you mentioned in flags.guess but I am still getting the same compilation error as attached below:
ftn  -O3 -Onoaggress -Oipa0 -hfp2 -Ovector3 -Oscalar3 -Ocache2 -Ounroll2 -Ofusion2 -DFORCE_VECTORIZATION -eF -em -rm -p ../../obj/mesh -I../shared/  -c -o ../../obj/mesh/utm_geo.o ../shared//utm_geo.f90
rm -f ../../lib/libmeshfem.a
ar cru ../../lib/libmeshfem.a ../../obj/mesh/safe_alloc_mod.shared.o ../../obj/mesh/store_coords.o ../../obj/mesh/read_mesh_parameter_file.o ../../obj/mesh/check_mesh_quality.o ../../obj/mesh/compute_parameters.o ../../obj/mesh/create_name_database.o ../../obj/mesh/create_regions_mesh.o ../../obj/mesh/create_visual_files.o ../../obj/mesh/define_subregions.o ../../obj/mesh/define_subregions_heuristic.o ../../obj/mesh/define_superbrick.o ../../obj/mesh/exit_mpi.o ../../obj/mesh/get_MPI_cutplanes_eta.o ../../obj/mesh/get_MPI_cutplanes_xi.o ../../obj/mesh/get_flags_boundaries.o ../../obj/mesh/get_global.o ../../obj/mesh/store_boundaries.o ../../obj/mesh/get_value_parameters.o ../../obj/mesh/hex_nodes.o ../../obj/mesh/meshfem3D.o ../../obj/mesh/param_reader.cc.o ../../obj/mesh/read_parameter_file.shared.o ../../obj/mesh/read_topo_bathy_file.o ../../obj/mesh/read_value_mesh_parameters.o ../../obj/mesh/read_value_parameters.shared.o ../../obj/mesh/save_databases.o ../../obj/mesh/utm_geo.o
ranlib ../../lib/libmeshfem.a
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 : Wed Aug 20, 2014  12:39:35
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
andreas at eslogin006:~/work/source/specfem3d>

Can it be that the flags are not passed on correctly to some of the files as the mashlibrary seems to work (see above).

Thanks,
Andreas

On 20 Aug 2014, at 06:34, Matthieu Lefebvre wrote:

Dear Andreas,

Thanks for reporting. It should be fixed by now and you can checkout the modifications from the master branch of specfem3d git repository.

The error was not related to ADIOS. It was due to the fact that some compiler options where missing to ask the cray compiler to hold module information for future compilations.

If you override the values present in flags.guess during configuration, please, be sure to add "-eF -em -rm" to the fortran compiler options.
If not, there is nothing for you to do in addition of what you are already doing.

I guess that " the latest specfem3d version” refers to specfem3d repository master branch.
Please continue to use this one for now, as when I was investigating I found out that some recent changes in the development branch are not working properly when using cray compilers.

Best Regards,

Matthieu


On Aug 19, 2014, at 4:26 PM, Rietbrock, Andreas <A.Rietbrock at liverpool.ac.uk<mailto:A.Rietbrock at liverpool.ac.uk>> wrote:

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


Andreas
_______________________________________________
CIG-SEISMO mailing list
CIG-SEISMO at geodynamics.org<mailto:CIG-SEISMO at geodynamics.org>
http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo

_______________________________________________
CIG-SEISMO mailing list
CIG-SEISMO at geodynamics.org<mailto:CIG-SEISMO at geodynamics.org>
http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-seismo/attachments/20140820/3a9af882/attachment-0001.html>


More information about the CIG-SEISMO mailing list