Changeset 310 for trunk/src/civ.m
- Timestamp:
- Dec 1, 2011, 11:19:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r309 r310 1493 1493 display(oar_command);eval(oar_command); 1494 1494 end 1495 case 'oar ' %oar-dispatch.pl1495 case 'oar_dispatch' %oar-dispatch.pl 1496 1496 filename_joblist=fullfile(Rootbat,'job_list.txt'); 1497 1497 fid=fopen(filename_joblist,'w'); … … 1515 1515 display(oar_command); 1516 1516 eval(['! . ' filename_oarcommand]) 1517 case 'oar _mpi'1517 case 'oar' 1518 1518 filename_joblist=fullfile(Rootbat,'job_list.txt'); 1519 1519 fid=fopen(filename_joblist,'w'); … … 1541 1541 '# ========================================================= \n'... 1542 1542 '# 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'... 1545 1545 '# ========================================================= \n'... 1546 1546 '# DO NOT MODIFY the FOLOWING LINES. (or be carefull) \n'... … … 1549 1549 'NCPUS=`cat $OAR_NODEFILE |wc -l` \n'... 1550 1550 '#========== 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'... 1554 1553 'echo "I run: $CMD" \n'... 1555 1554 '$CMD \n'...
Note: See TracChangeset
for help on using the changeset viewer.