ocean script in batch mode

Status
Not open for further replies.

sabyasachi.iitkgp

Newbie level 3
Joined
May 9, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
ocean batch

I am using ocean scripts in interactive mode.Can it be used in batch mode. I want to mean that can i run a shell script so that i can run say 10 ocean script sequencially without any user intervention.

I have writtten one shell script but it is not working

#!/bin/sh

ocean
load"/home/sabyasachi/Desktop/DC_CORNER_MODEL/ocn/pmos/tt.ocn"

exit

it is opening ocean in interactive mode and i have to give commands manually.
 

invoke ocesn script through shell

it is just:
ocean < your_script.ocn
 

run ocean in batch mode

Create another script that includes all your script. Ex.
all.ocn this has the following lines:
load "tt.ocn"
load "ff.ocn"
load "ss.ocn"
 

load design ocean scripts

You may need to run from within cdsWrapper to get
all the externalities, automagically set up.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…