airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raminder Singh <raminderjsi...@gmail.com>
Subject Re: Two execution in one script.
Date Tue, 29 Jan 2013 21:28:27 GMT
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 <glahiru@gmail.com>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 <pedrorcs@gmail.com
>>> 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
>> 


Mime
View raw message