Changeset 310


Ignore:
Timestamp:
Dec 1, 2011, 11:19:01 AM (12 years ago)
Author:
gostiaux
Message:

civ with mpilauncher included

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r309 r310  
    14931493                display(oar_command);eval(oar_command);
    14941494                end         
    1495        case 'oar' %oar-dispatch.pl
     1495       case 'oar_dispatch' %oar-dispatch.pl
    14961496                filename_joblist=fullfile(Rootbat,'job_list.txt');
    14971497                fid=fopen(filename_joblist,'w');
     
    15151515                display(oar_command);
    15161516                eval(['! . ' filename_oarcommand])
    1517         case 'oar_mpi'
     1517        case 'oar'
    15181518                filename_joblist=fullfile(Rootbat,'job_list.txt');
    15191519                fid=fopen(filename_joblist,'w');
     
    15411541                    '# ========================================================= \n'...
    15421542                    '#   USER should only modify these 2 lines  \n'...
    1543                     'WORKDIR=/home/users/gostiaux/tmp/begou \n'...
    1544                     'COMMANDE="/home/users/gostiaux/tmp/begou/mpilauncher  -f ' filename_joblist '" \n'...
     1543                    'WORKDIR=' pwd ' \n'...
     1544                    'COMMANDE="mpilauncher  -f ' filename_joblist '" \n'...
    15451545                    '# ========================================================= \n'...
    15461546                    '# DO NOT MODIFY the FOLOWING LINES. (or be carefull) \n'...
     
    15491549                    'NCPUS=`cat $OAR_NODEFILE |wc -l` \n'...
    15501550                    '#========== Bidouille ============== \n'...
    1551                     'export OMPI_MCA_plm_rsh_agent=$HOME/tmp/begou/oarshmost \n'...
    1552                     'cd $WORKDIR \n'...
    1553                     'CMD="mpirun -np $NCPUS  -wdir $WORKDIR $MPINODES $COMMANDE" \n'...
     1551                    'export OMPI_MCA_plm_rsh_agent=oar-envsh \n'...%                     'cd $WORKDIR \n'...
     1552                    'CMD="mpirun -np $NCPUS -wdir $WORKDIR $MPINODES $COMMANDE" \n'...
    15541553                    'echo "I run: $CMD"  \n'...
    15551554                    '$CMD \n'...
Note: See TracChangeset for help on using the changeset viewer.