Changeset 4975


Ignore:
Timestamp:
02/24/20 12:08:54 (4 years ago)
Author:
jgipsl
Message:

Update as done in LMDZOR_v6.3 in changeset [4973]:

  • Change automatiquement -parallel mpi_omp vers -parallel mpi sur obelix
  • Ajoute test si le fichier fcm.bld.lock dans la compilatiation d'ORCHIDEE et efface le s'il existe
  • Also add more names for machines at Climserv (loholt|camelot)

v7/ICOLMDZOR_v7/ARCH/arch-X64_IRENE.env : as done in v6.2 configurations to avoid error message from makelmdz_fcm when doing module purge.

Location:
CONFIG/UNIFORM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6.2/compile_ipslcm6.sh

    r4932 r4975  
    139139            fcm_arch=X64_IRENE;; 
    140140        asterix*|obelix*) 
    141             fcm_arch=ifort_LSCE;; 
    142         ciclad*|climserv*) 
     141            fcm_arch=ifort_LSCE 
     142            if [ "${parallel}" == "mpi_omp" ] ; then  
     143                echo "Warning!! Currently at Obelix hybrid mode is not possible." 
     144                echo "          Option -parallel mpi_omp is now changed to -parallel mpi" 
     145                echo "" 
     146                parallel=mpi 
     147            else 
     148                echo "You used -parallel" $parallel 
     149            fi ;; 
     150        ciclad*|climserv*|loholt*|camelot*) 
    143151            fcm_arch=ifort_CICLAD;; 
    144152        *) 
     
    225233echo; echo "NOW COMPILE ORCHIDEE" 
    226234echo >> $outfile ; echo " NOW COMPILE ORCHIDEE"   >> $outfile  
     235 
     236# Check if the compilation of ORCHIDEE was previsouly interupted prematured.  
     237# In that case, the files fcm.bld.lock exist. If the file exist, it is here removed to avoid makeorchidee_fcm  
     238# to ask question and wait for interactivly answer from the user. 
     239if [ -f build/fcm.bld.lock ] ; then 
     240    echo >> $outfile 
     241    echo " WARNING!! The file ORCHIDEE/build/fcm.bld.lock exist. "   >> $outfile 
     242    echo "           This means that the compilation is either currently on going in another terminal was previous interupted before the end."   >> $outfile 
     243    echo "           The file will now be removed. "   >> $outfile 
     244    echo >> $outfile 
     245    rm -f build/fcm.bld.lock 
     246fi 
    227247 
    228248echo    ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_orch   >> $outfile  
  • CONFIG/UNIFORM/v6/LMDZOR_v6.2/compile_lmdzor.sh

    r4972 r4975  
    106106            fcm_arch=X64_IRENE;; 
    107107        asterix*|obelix*) 
    108             fcm_arch=ifort_LSCE;; 
    109         ciclad*|climserv*) 
     108            fcm_arch=ifort_LSCE 
     109            if [ "${parallel}" == "mpi_omp" ] ; then  
     110                echo "Warning!! Currently at Obelix hybrid mode is not possible." 
     111                echo "          Option -parallel mpi_omp is now changed to -parallel mpi" 
     112                echo "" 
     113                parallel=mpi 
     114            else 
     115                echo "You used -parallel" $parallel 
     116            fi ;; 
     117        ciclad*|climserv*|loholt*|camelot*) 
    110118            fcm_arch=ifort_CICLAD;; 
    111119        *) 
     
    182190echo; echo "NOW COMPILE ORCHIDEE" 
    183191echo >> $outfile ; echo " NOW COMPILE ORCHIDEE"   >> $outfile  
     192 
     193 
     194# Check if the compilation of ORCHIDEE was previsouly interupted prematured.  
     195# In that case, the files fcm.bld.lock exist. If the file exist, it is here removed to avoid makeorchidee_fcm  
     196# to ask question and wait for interactivly answer from the user. 
     197if [ -f build/fcm.bld.lock ] ; then 
     198    echo >> $outfile 
     199    echo " WARNING!! The file ORCHIDEE/build/fcm.bld.lock exist. "   >> $outfile 
     200    echo "           This means that the compilation is either currently on going in another terminal was previous interupted before the end."   >> $outfile 
     201    echo "           The file will now be removed. "   >> $outfile 
     202    echo >> $outfile 
     203    rm -f build/fcm.bld.lock 
     204fi 
    184205 
    185206echo    ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_orch -driver   >> $outfile  
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/ARCH/arch-X64_IRENE.env

    r4327 r4975  
    11# Compile and running environnemnet at Irene Skylake  
     2 
     3# Allow error messages related to purge 
     4set +e 
    25module purge 
     6#set -e 
     7 
    38module load intel/17.0.6.256 
    49module load mpi/openmpi/2.0.4 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/compile_icolmdzor.sh

    r4921 r4975  
    107107            fcm_arch=X64_IRENE;; 
    108108        asterix*|obelix*) 
    109             fcm_arch=ifort_LSCE;; 
    110         ciclad*|climserv*) 
     109            fcm_arch=ifort_LSCE 
     110            if [ "${parallel}" == "mpi_omp" ] ; then  
     111                echo "Warning!! Currently at Obelix hybrid mode is not possible." 
     112                echo "          Option -parallel mpi_omp is now changed to -parallel mpi" 
     113                echo "" 
     114                parallel=mpi 
     115            else 
     116                echo "You used -parallel" $parallel 
     117            fi ;; 
     118        ciclad*|climserv*|loholt*|camelot*) 
    111119            fcm_arch=ifort_CICLAD;; 
    112120        *) 
     
    177185echo; echo "NOW COMPILE ORCHIDEE" 
    178186echo >> $outfile ; echo " NOW COMPILE ORCHIDEE"   >> $outfile  
     187 
     188# Check if the compilation of ORCHIDEE was previsouly interupted prematured.  
     189# In that case, the files fcm.bld.lock exist. If the file exist, it is here removed to avoid makeorchidee_fcm  
     190# to ask question and wait for interactivly answer from the user. 
     191if [ -f build/fcm.bld.lock ] ; then 
     192    echo >> $outfile 
     193    echo " WARNING!! The file ORCHIDEE/build/fcm.bld.lock exist. "   >> $outfile 
     194    echo "           This means that the compilation is either currently on going in another terminal was previous interupted before the end."   >> $outfile 
     195    echo "           The file will now be removed. "   >> $outfile 
     196    echo >> $outfile 
     197    rm -f build/fcm.bld.lock 
     198fi 
    179199 
    180200echo    ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_orch    >> $outfile  
Note: See TracChangeset for help on using the changeset viewer.