[CIG-SEISMO] Problem with SPECFEM3D Cartesian Installation
Dimitri Komatitsch
komatitsch at lma.cnrs-mrs.fr
Wed Mar 11 09:56:05 PDT 2015
Dear Kasemsak,
Thank you for your message. The problem comes from this:
F90=gfortran FC=ifort
You cannot use both Intel ifort and GNU gfortran, thus you should say:
F90=gfortran FC=gfortran
or
F90=ifort FC=ifort
(note that it is sufficient to use "FC", thus you can suppress F90 in
the command you typed)
Best regards,
Dimitri.
On 03/11/2015 05:43 PM, Kasemsak Saetang wrote:
> Dear CIG Computational Seismology
>
> I am installing the SPECFEM3D_Cartesian version 2.0. I use Linux
> 2.6.32-220.4.2.el6.x86_64 x86_64 on Cluster 450 CPU. I started
> installation with " ./configure MPIF90=/opt/openmpi-1.8.1/bin/mpif90
> F90=gfortran FC=ifort"
>
> I got this message
>
> ## --------------- ##
> ## Specfem3D 2.1.0 ##
> ## --------------- ##
>
> ./configure has completed and set up a default configuration to build.
>
> You may wish to modify the following files before running a simulation:
> DATA/Par_file Set parameters affecting the simulation.
> DATA/CMTSOLUTION Set the source parameters before running the
> solver.
> DATA/STATIONS Set the receiver stations before running the
> solver.
>
>
> After that I typed "make"
> I got the texts below. I do not know the problems. Could you suggest me
> some command to fix it
> Regards,
> Kasemsak Saetang
>
> src/specfem3D/create_color_image.f90(131): error #6404: This name does
> not have a type, and must have an explicit type. [NPROC]
> integer, dimension(1,0:NPROC-1) :: tmp_pixel_per_proc
> -------------------------^
> src/specfem3D/create_color_image.f90(485): error #6404: This name does
> not have a type, and must have an explicit type. [NPROC]
> if (NPROC > 1) then
> ------^
> src/specfem3D/create_color_image.f90(558): error #6404: This name does
> not have a type, and must have an explicit type. [NPROC]
> if (NPROC > 1) then
> ------^
> compilation aborted for src/specfem3D/create_color_image.f90 (code 1)
> make: *** [obj/create_color_image.spec.o] Error 1
>
>
>
> _______________________________________________
> 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