|
[Sponsors] |
August 15, 2003, 09:21 |
batch job under linux
|
#1 |
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 |
|
August 15, 2003, 10:27 |
Re: batch job under linux
|
#2 |
Guest
Posts: n/a
|
Remove the "timex" command in the batch file or replace it with "time".
|
|
August 15, 2003, 10:46 |
Re: batch job under linux
|
#3 |
Guest
Posts: n/a
|
I've tried this but it doesn't work. I use Suse 8.0 Linux with standard installation.
|
|
August 15, 2003, 11:41 |
Re: batch job under linux
|
#4 |
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
|
|
August 16, 2003, 19:00 |
Re: batch job under linux
|
#5 |
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. |
|
August 18, 2003, 03:42 |
Re: batch job under linux
|
#6 |
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.
|
|
August 18, 2003, 05:27 |
Re: batch job under linux
|
#7 |
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 |
|
August 18, 2003, 05:28 |
Re: batch job under linux
|
#8 |
Guest
Posts: n/a
|
#!bin/sh
timex ./job.exe > job.exe log 2>&1 <<EOD job EOD |
|
August 18, 2003, 05:30 |
Re: batch job under linux
|
#9 |
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 |
|
August 18, 2003, 05:30 |
Re: batch job under linux
|
#10 |
Guest
Posts: n/a
|
Sorry but it is not possible to post the script. Some symbols can't not be displayed
|
|
August 18, 2003, 06:48 |
Re: batch job under linux
|
#11 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Batch job | M. Malik | Main CFD Forum | 6 | February 12, 2008 10:49 |
batch run | N.R. | CFX | 1 | June 17, 2007 23:44 |
Can Starcd for linux run in Linux Debian? help | deisler | Siemens | 1 | February 28, 2007 05:27 |
How to create Batch job for CFX-10 in Linux OS | siv | CFX | 2 | March 21, 2006 04:38 |
UDF in Batch | Prateep Chatterjee | FLUENT | 0 | August 9, 2000 12:01 |