CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

batch job under linux

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2003, 08:21
Default batch job under linux
  #1
Marcio
Guest
 
Posts: n/a
Hi all,

I 've generated the jobname.exe.batch file within prostar. But when I try to start it with nohup jobname.exe.batch & nothing happens. I work with bash as standard shell.

Any idea what could be wrong??

Thanks
  Reply With Quote

Old   August 15, 2003, 09:27
Default Re: batch job under linux
  #2
Joern Beilke
Guest
 
Posts: n/a
Remove the "timex" command in the batch file or replace it with "time".

  Reply With Quote

Old   August 15, 2003, 09:46
Default Re: batch job under linux
  #3
Marcio
Guest
 
Posts: n/a
I've tried this but it doesn't work. I use Suse 8.0 Linux with standard installation.
  Reply With Quote

Old   August 15, 2003, 10:41
Default Re: batch job under linux
  #4
Joern Beilke
Guest
 
Posts: n/a
what happens if you leave prostar and run the starlink from the command line, i've nerver started a job from prostar

  Reply With Quote

Old   August 16, 2003, 18:00
Default Re: batch job under linux
  #5
steve
Guest
 
Posts: n/a
Inside the script does it say ./star-casen ... or just star-casen ... ?

If its the second then it is possible that you might need to add "." to your path or edit the script maybe? I can't look at a typical script right now since I'm at home.
  Reply With Quote

Old   August 18, 2003, 02:42
Default Re: batch job under linux
  #6
Stefan
Guest
 
Posts: n/a
Maybe there's a "y" missing in the fourth line in your startup-script? Star-CD asks if it should re-compute the wall-distances, but the batch-script does not account for it.
  Reply With Quote

Old   August 18, 2003, 04:27
Default Re: batch job under linux
  #7
Marcio
Guest
 
Posts: n/a
The shell script generated with prostar is shown in the following lines:

#!bin/sh timex ./job.exe > job.exe log 2>&1 <<EOD job EOD

The starlink command executed directly from a shell generates the same script.

So any idea why this script doesn't run the case job under Suse 8.0 with bash as standard shell???

Thanks
  Reply With Quote

Old   August 18, 2003, 04:28
Default Re: batch job under linux
  #8
Marcio
Guest
 
Posts: n/a
#!bin/sh

timex ./job.exe > job.exe log 2>&1 <<EOD

job

EOD

  Reply With Quote

Old   August 18, 2003, 04:30
Default Re: batch job under linux
  #9
Stefan
Guest
 
Posts: n/a
My startscript looks like this: note the "y" in line four.

#!/bin/sh time ./star-foo.exe > star-foo.exe.log 2>&1 <<EOD foo y EOD
  Reply With Quote

Old   August 18, 2003, 04:30
Default Re: batch job under linux
  #10
Marcio
Guest
 
Posts: n/a
Sorry but it is not possible to post the script. Some symbols can't not be displayed
  Reply With Quote

Old   August 18, 2003, 05:48
Default Re: batch job under linux
  #11
Joern Beilke
Guest
 
Posts: n/a
The "timex" command does not exists in Linux. Thats why the script does not work. You just have to edit the script and remove the word "timex".

Another way would be to create a symbolically link or an alias.

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch job M. Malik Main CFD Forum 6 February 12, 2008 09:49
batch run N.R. CFX 1 June 17, 2007 22:44
Can Starcd for linux run in Linux Debian? help deisler Siemens 1 February 28, 2007 04:27
How to create Batch job for CFX-10 in Linux OS siv CFX 2 March 21, 2006 03:38
UDF in Batch Prateep Chatterjee FLUENT 0 August 9, 2000 11:01


All times are GMT -4. The time now is 14:31.