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/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  
Note: See TracChangeset for help on using the changeset viewer.