Ignore:
Timestamp:
Jul 30, 2008 7:07:47 AM (16 years ago)
Author:
raasch
Message:

bugfixes + adjustments for SGI ICE system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mbuild

    r169 r181  
    9191     #                    host identifier (local_host) is read from config file
    9292     # 10/10/07 - Siggi - bugfix: handling of comment lines
     93     # 18/07/08 - Siggi - adapted for lcsgih
     94     # 21/07/08 - Siggi - mainprog (executable) is added to the tar-file
     95     #                    ({mainprog}_current_version)
    9396
    9497
     
    723726    case  $remote_host  in
    724727        (lcmuk)          remote_addres=130.75.105.2;;
     728        (lcsgib)         remote_addres=130.73.232.102;;
     729        (lcsgih)         remote_addres=130.75.4.102;;
    725730        (lctit)          remote_addres=172.17.75.161;;
    726731        (decalpha)       remote_addres=165.132.26.56;;
     
    12991304                print "export OBJECT_MODE=64; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
    13001305
     1306             elif [[ $remote_host = lcsgib  ||  $remote_host = lcsgih ]]
     1307             then
     1308
     1309                print ". /usr/share/modules/init/bash; module load mvapich/mvapich-0.9.9-intel; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
     1310#                print ". /usr/share/modules/init/bash; module load mvapich2/1.2-intel; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
     1311
    13011312             elif [[ $remote_host = lctit ]]
    13021313             then
     
    13431354             if [[ $remote_host != lctit ]]
    13441355             then
    1345                 ssh  ${remote_username}@${remote_addres}  "cd ${remote_md}; chmod u+w *; tar -cf  ${mainprog}_current_version.tar  *.f90 *.o *.mod"
     1356                ssh  ${remote_username}@${remote_addres}  "cd ${remote_md}; chmod u+w *; tar -cf  ${mainprog}_current_version.tar  ${mainprog}  *.f90 *.o *.mod"
    13461357             else
    13471358                   # TIT ERLAUBT NUR DIE AUSFÜHRUNG GANZ BESTIMMTER KOMMANDOS
    13481359                   # MIT SSH, DESHALB AUFRUF PER PIPE
    1349                 print  "cd ${remote_md}; chmod u+w *; tar -cf  ${mainprog}_current_version.tar  *.f90 *.o *.mod"  |  ssh  ${remote_username}@${remote_addres}  2>&1
     1360                print  "cd ${remote_md}; chmod u+w *; tar -cf  ${mainprog}_current_version.tar  ${mainprog}  *.f90 *.o *.mod"  |  ssh  ${remote_username}@${remote_addres}  2>&1
    13501361             fi
    13511362
Note: See TracChangeset for help on using the changeset viewer.