[CIG-SEISMO] error: mpif90 configuration

Dimitri Komatitsch komatitsch at lma.cnrs-mrs.fr
Fri May 3 05:05:58 PDT 2013


Dear Victor,

-q64 is not a valid gfortran option (and is not in our standard 
flags.guess file) thus just edit flags.guess, remove it and run 
"configure" again.

Regarding -Wcharacter-truncation -Wno-tabs -fmax-errors=10 it seems you 
are using an old version of gfortran thus either upgrade to a more 
recent one or remove these three flags from flags.guess.

Best regards,
Dimitri.


On 04/29/2013 03:35 PM, Victor Zaldo Fornies wrote:
> Hi,
>
> Thanks for the effortstomake available SPECFEM3D for all the community.
>
> Icontact you because I am trying to install SPECFEM3D in a RedHat server
> with gfortran, openmpi and scotch. But when I run:
>
> ./configure F90=gfortran MPIF90=/usr/lib64/openmpi/1.4-gcc/bin/mpif90
> --with-scotch-dir=/usr/local/app/scotch_6.0
>
> I have a the following error in the config.log file:
>
> configure:6534: /usr/lib64/openmpi/1.4-gcc/bin/mpif90 -c -O3 -q64
> -std=gnu -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic
> -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation
> -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow  conftest.f90 >&5
>
> gfortran: unrecognized option '-q64'
>
> f951: error: unrecognized command line option "-Wcharacter-truncation"
>
> f951: error: unrecognized command line option "-Wno-tabs"
>
> f951: error: unrecognized command line option "-fmax-errors=10"
>
> configure:6534: $? = 1
>
> configure: failed program was:
>
> Seem like a mpif90 configuration problem. But I have try many things I I
> didn't success.  Do you know something about that error?
>
> Best Regards,
>
> Vicent
>
>
>
>
> _______________________________________________
> CIG-SEISMO mailing list
> CIG-SEISMO at geodynamics.org
> http://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