Changeset 4269


Ignore:
Timestamp:
Sep 21, 2022, 11:27:09 AM (20 months ago)
Author:
Laurent Fairhead
Message:

Changed command to get the version of the gfortran compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r4267 r4269  
    8484pcmac=0 # default: not on a Mac
    8585compiler=gfortran
    86 if [ `gfortran --version | head -1 | awk ' { print $NF } ' | cut -d. -f1` -ge 11 ] ; then allow_arg_mismatch="-fallow-argument-mismatch" ; fi
     86if [ `gfortran -dumpversion | cut -d. -f1` -ge 11 ] ; then allow_arg_mismatch="-fallow-argument-mismatch" ; fi
    8787SCM=0
    8888# surface/vegetation scheme treatment
Note: See TracChangeset for help on using the changeset viewer.