[CIG-SEISMO] Compilation error for specfem3D_globe

Dimitri Komatitsch komatitsch at lma.cnrs-mrs.fr
Mon May 30 16:46:49 PDT 2016


Hi Julien, Hi all,

Probably your Fortran compiler that does not support Fortran2008, and 
Daniel (cc'ed) recently added the "contiguous" keyword, which is 
specific to F2008.

Daniel, could you maybe remove it? We need to make sure the code remains 
portable.

Thanks,
Dimitri.

On 31/05/2016 00:22, Julien Chaput wrote:
> Hi,
>
> I'm a newbie with specfem3D_globe, and am attempting to generate long
> coda (80000s) for arbitrary scattering structures to study the character
> of coda correlation functions.
> I'm currently running into a compilation problem (i.e. make specfem3D),
> though the mesher compiles without issues.
> The error I can't seem to get around is this:
>
> src/specfem3D/sepcfem3D_par.F90:402.25
> real(kind=CUSTOM_REAL), dimension(:), pointer, contiguous ::
> b_rmassz_crust_m
> 1
> Error: Invalid character in name at (1)
>
> This error is flagged at lines 402, 403, 404, 434, 438 581, 582, 612,
> 616 (before the error count maxes out).
>
> I'm currently using openmpi running on 24 cores, and have configured
> simply as:
> ./configure FC=mpif90 MPIFC=mpif90
> (I've also tried setting FC=gfortran to no avail).
> Has anyone encountered this sort of thing? As best I can understand (I'm
> not a native fortran programmer) it seems to be related to a syntax
> clash between fortran compilers.
> Thanks
>
> Julien Chaput
> Postdoctoral fellow
> Colorado State University
> jchaput82 at gmail.com <mailto:jchaput82 at gmail.com>
>
>
>
>
>
> _______________________________________________
> CIG-SEISMO mailing list
> CIG-SEISMO at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
>

-- 
Dimitri Komatitsch
CNRS Research Director (DR CNRS), Laboratory of Mechanics and Acoustics,
UPR 7051, Marseille, France    http://komatitsch.free.fr


More information about the CIG-SEISMO mailing list