Changes between Initial Version and Version 1 of qcg-simple-examples

Show
Ignore:
Timestamp:
08/08/13 16:52:10 (12 years ago)
Author:
piontek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • qcg-simple-examples

    v1 v1  
     1[[PageOutline]] 
     2 
     3'''IMPORTANT:''' All descriptions presented on this page are only examples and there is no guaranty that they can be executed without prior modifications especially as almost all of them require input files to be present in specific locations. 
     4 
     5= Popular legacy applications = 
     6 
     7== Abaqus == 
     8{{{ 
     9#QCG host=nova 
     10#wymaganie pamieci w mb 
     11#QCG memory=2000 
     12#liczba wezlow/rdzeni 
     13#QCG nodes=1:4 
     14  
     15#QCG application=abaqus 
     16#QCG argument=design.inp 
     17#QCG stage-in-file=design.inp 
     18  
     19#QCG stage-out-dir= . -> abaqus-results-${JOB_ID} 
     20#QCG output=output.${JOB_ID} 
     21#QCG error=error.${JOB_ID} 
     22}}} 
     23  
     24== Abinit == 
     25{{{ 
     26#QCG queue=plgrid-long 
     27#QCG note=4QLsTi+Ni_h3 
     28#QCG output=myjob.log 
     29#QCG error=myjob.error 
     30#QCG stage-in-file=Bi2Se3.in 
     31#QCG stage-in-file=Bi2Se3x.files 
     32#QCG stage-in-file=34se.6.hgh 
     33#QCG stage-in-file=83bi.5.hgh 
     34#QCG stage-in-file=22ti.4.hgh 
     35#QCG stage-in-file=28ni.10.hgh 
     36#QCG stage-out-dir=. -> results-${JOB_ID} 
     37#QCG nodes=1:8 
     38#QCG memory=12000 
     39#QCG host=hydra 
     40#QCG walltime=P7D 
     41#QCG application=abinit 
     42#QCG argument=Bi2Se3x.files 
     43#QCG grant=moj_grant 
     44}}} 
     45  
     46== Gamess == 
     47{{{ 
     48 #!/bin/bash 
     49   
     50#QCG queue=plgrid-long 
     51#QCG walltime=P4D 
     52#QCG note=nano3_3+hcl-gms-mp2-accd_F00_galera 
     53#QCG output=outputs/nano3_3+hcl-gms-mp2-accd_F00_galera.output 
     54#QCG error=outputs/nano3_3+hcl-gms-mp2-accd_F00_galera.error 
     55#QCG stage-in-file=nano3_3+hcl-gms-mp2-accd_F00_galera.inp -> nano3_3+hcl-gms-mp2-accd_F00_galera.inp 
     56#QCG stage-out-file=nano3_3+hcl-gms-mp2-accd_F00_galera.log -> outputs/nano3_3+hcl-gms-mp2-accd_F00_galera.log 
     57#QCG nodes=2:12 
     58#QCG memory=16000 
     59#QCG host=galera 
     60#QCG application=gamess 
     61#QCG argument=nano3_3+hcl-gms-mp2-accd_F00_galera.inp 
     62}}} 
     63  
     64 
     65== Gaussian == 
     66{{{ 
     67#QCG queue=plgrid-long 
     68#QCG name=etanal 
     69#QCG note=etanal Gaussian 
     70#QCG output=${JOB_ID}.output 
     71#QCG error=${JOB_ID}.error 
     72#QCG stage-in-file=etanal.gjf -> etanal.gjf 
     73#QCG stage-out-file=wynik.tar -> ${JOB_ID}.tar 
     74#QCG nodes=1:12 
     75#QCG host=galera.task.gda.pl 
     76#QCG walltime=P7D 
     77#QCG notify=mailto:piontek@man.poznan.pl 
     78#QCG memory=15360 
     79  
     80#QCG preprocess=echo START 
     81#QCG application=g09 
     82#QCG argument=etanal.gjf 
     83#QCG postprocess=tar cvf wynik.tar * 
     84}}} 
     85  
     86 
     87== NAMD == 
     88{{{ 
     89#QCG note=NAMD apoa1 
     90#QCG name=ex_1                                                            
     91#QCG host=hydra.icm.edu.pl                                                
     92#QCG walltime=PT10M                                                       
     93#QCG queue=plgrid                                                         
     94#QCG nodes=1:12:12                                                                                                      
     95#QCG output=apoa1.output                                                  
     96#QCG error=apoa1.error                                                    
     97#QCG application=NAMD                                                     
     98#QCG argument=apoa1/apoa1.namd                                            
     99#QCG stage-in-file=apoa1.zip                                              
     100#QCG preprocess=unzip apoa1.zip                                           
     101#QCG stage-out-dir=. -> results                                        
     102#QCG notify=xmpp:tomasz.piontek@plgrid.pl  
     103#QCG watch-output=mailto:tp@mail,20,ENERGY 
     104}}} 
     105 
     106== R == 
     107{{{ 
     108#QCG host=zeus 
     109#QCG queue=plgrid 
     110#QCG walltime=PT5M 
     111#QCG application=R 
     112   
     113#QCG output=${JOB_ID}.output 
     114#QCG error=${JOB_ID}.error 
     115#QCG argument=PoDA-example.R 
     116#QCG stage-in-file=PoDA-example.R 
     117#QCG stage-in-file=PoDA.R 
     118#QCG stage-in-file=PoDA-example-data.RData 
     119#QCG stage-out-file=Rplots.pdf 
     120}}} 
     121  
     122== Some useful examples == 
     123 
     124== Text file conversion == 
     125{{{ 
     126#!/bin/bash 
     127   
     128#QCG host=zeus 
     129#QCG queue=plgrid 
     130#QCG walltime=PT5M 
     131   
     132#QCG output=${JOB_ID}.output 
     133#QCG error=${JOB_ID}.error 
     134   
     135#QCG stage-in-file=input.txt -> lower.txt 
     136   
     137cat lower.txt | tr "[:lower:]" "[:upper:]" > upper.txt 
     138echo "Liczba znakow: " `wc -m upper.txt` 
     139sleep 120 
     140echo "Koniec: " `date` 
     141   
     142#QCG stage-out-file=upper.txt -> ${JOB_ID}.upper 
     143}}} 
     144 
     145 
     146== MPI application == 
     147{{{ 
     148#QCG note=CPminV04_mpi1024 
     149#QCG host=galera.task.gda.pl 
     150#QCG nodes=4:12:2 
     151#QCG queue=plgrid 
     152#QCG stage-in-dir=.->. 
     153#QCG stage-in-file=../minV04 
     154#QCG stage-out-dir=outdata 
     155#QCG stage-out-file=log 
     156module load openmpi 
     157mpirun -machinefile $QCG_NODEFILE --cpus-per-proc 6 --bysocket  ./minV04 > log 
     158}}}