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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.