Thanks Raminder. When I try to run my script. I comment the line to run "ph.x" and I run the pw.x, then later I comment the "pw.x" and run the "ph.x".
On Tue, Jan 29, 2013 at 3:28 PM, Raminder Singh <[email protected]>wrote: > I am going to look into this and will get back to you soon. > > Thanks > Raminder > > On Jan 29, 2013, at 4:08 PM, Pedro da Silveira wrote: > > > Hi Lahiru, > > > > Yes. I tested the second executable "ph.x". It runs just fine. In fact, I > > ran this executable separately and it took around 15 hour to finish. I > also > > tried small examples that took only 3 minutes. > > > > Thank you, > > > > > > > > On Tue, Jan 29, 2013 at 3:04 PM, Lahiru Gunathilake <[email protected] > >wrote: > > > >> Hi Pedro, > >> > >> Can you please try to run your second executable only (ph.x) and see > >> whether it works fine with airavata ? > >> > >> Lahiru > >> > >> On Tue, Jan 29, 2013 at 3:48 PM, Pedro da Silveira <[email protected] > >>> wrote: > >> > >>> Hi Dev, > >>> > >>> I need a few tips here on how to run my workflow. > >>> > >>> I prepared a simple script to run my workflow, which has 4 inputs and > >> runs > >>> on Lonestar. > >>> In my script, I call two Fortran executable. It first runs "pw.x", > later > >>> runs "ph.x" in this order. > >>> Unfortunately, as soon as the "pw.x" finishes, the ph.x does not start > to > >>> run. I checked the output and nothing is written there. By looking on > >> Xbaya > >>> dashboard it just says that my job is still running. My wall time is of > >> 24h > >>> because the ph.x will require time to finish. > >>> I am using the user name ogce on Lonestar. > >>> > >>> Is this echo at end of my script correct? > >>> Should I point to the path where my output is located? > >>> Should I create a String Output variable on my AppService to receive > this > >>> information back on the Xbaya? > >>> > >>> Script file name: executePhonon.sh > >>> > >>> ================================================= > >>> #ibrun $SCRATCH/pw.x -inp ./Pwscf_Input > ./Pwscf_Output; > >>> echo $* > >>> export APP_PATH=/scratch/01437/ogce/Vlab/Phonon/ > >>> > >>> cd $APP_PATH > >>> cp $1 . > >>> cp $2 . > >>> cp $3 . > >>> cp $4 . > >>> ####ibrun > >>> /scratch/01437/ogce/Vlab/pw.x < Pwscf_Input >> $APP_PATH/Pwscf_Output; > >>> > >>> /scratch/01437/ogce/Vlab/ph.x < Phonon_Input >> > $APP_PATH/Phonon_Output ; > >>> > >>> echo Pwscf_Output=$APP_PATH/Pwscf_Output > >>> echo Phonon_Output=$APP_PATH/Phonon_Output > >>> =================================================== > >>> > >>> Any advice on how to have this script running on Lonestart is welcome. > >>> > >>> Thank you, > >>> > >>> Pedro da Silveira > >>> > >> > >> > >> > >> -- > >> System Analyst Programmer > >> PTI Lab > >> Indiana University > >> > >
