|
[Sponsors] |
June 8, 2008, 01:18 |
Star-CD batch mode error
|
#1 |
Guest
Posts: n/a
|
Hi all,
I am trying to run a simulation using star-cd in batch mode. I use the command prompt and type the command "star" when in the correct directory, and i get the error "'star' is not recognized as an internal or external command, operable program or batch file." I believe i have installed all the fortran compilers correctly, does anyone have any suggestion of anything i could try? Regards. Karl |
|
June 8, 2008, 04:45 |
Re: Star-CD batch mode error
|
#2 |
Guest
Posts: n/a
|
This has nothing to do with fortran compilers. You need to place the directory with the "star" command in it ($STARDIR/bin) in your path so that the computer knows where that command is located. Actually a better solution is to source $STARDIR/etc/setstar which will set your environment up approriately so that this doesn't happen.
|
|
June 8, 2008, 05:03 |
Re: Star-CD batch mode error
|
#3 |
Guest
Posts: n/a
|
I've tried putting $STARDIR/bin in the command and running it, but still nothing.
What do i have to do to source $STARDIR/etc/setstar? And just to be sure i'm doing this properly, i'm in the command prompt, the current directory is where my star files are kept (C:\star\) and i tried just typing star to start the batch mode, which didn't work, now i've tried placing the directory in as well, but still the same problem. I'm new to Star-CD so i don't yet know all the ins and outs. So be patient with me, i do appreciate the help. |
|
June 8, 2008, 11:16 |
Re: Star-CD batch mode error
|
#4 |
Guest
Posts: n/a
|
Your StarCD installation is not properly configured. The information TG provided is for a UNIX/Linux installation.
Sounds like you are on Windows. You need to set path and environment variables. The installation notes provide the details. I don't know them. |
|
June 8, 2008, 11:21 |
Re: Star-CD batch mode error
|
#5 |
Guest
Posts: n/a
|
Yes, i am a windows user. and yes i realise that linux would be better to use, but i've been given windows.
i've set up the environmental variables as they say, wondering if there are any windows star users who could help. thanks |
|
June 8, 2008, 13:18 |
Re: Star-CD batch mode error
|
#6 |
Guest
Posts: n/a
|
Hi
sometimes I use Star-Cd on windows but I've never recognized such error...do you use the Star-Launch utility or you write commands in a "cmd" shell? With the star-launch utility you can check that the starDIR is properly configured...it must looks like C:\Programs\CD Adapco\Star-Cd And also...set the working directory to the right one and try to launch the sim from the star-launch utility...is MKSTOOLKIT (or the other one) is properly configured and in his directory there mustn't be problem... |
|
June 8, 2008, 14:12 |
Re: Star-CD batch mode error
|
#7 |
Guest
Posts: n/a
|
You original post indicates the DOS shell doesn't know where to find the solver executable. So the path and/or environment variable stuff is the likely problem.
Do the simulations run from the GUI? If so then you indeed have the install correct. So the problem must be with the command line approach. One idea is to check that the environment variables & path information get propagated to the DOS shell (use the set command). I've played with StarCD on Windows. However I've never tried running solves from a DOS shell. So my comments are somewhat generic in nature. |
|
June 8, 2008, 23:01 |
Re: Star-CD batch mode error
|
#8 |
Guest
Posts: n/a
|
Hi, my GUI mode works, i can run star interactively there, but as i'm using a moving mesh i have to use batch mode, the only way i know how is from the cmd.
i used the set command, and my STARDIR comes up correctly, should star be in there already as a batch file or something? its not. ok, just back to basics here, this is what i have been told i am to do. 1. Save my star model in a working directory (close to the root, with folders containing no spaces), in this case c:\d1\ 2. use the command prompt, change current directory to the working directory 3. type 'star' and it should be away. this is where it tells me star is not a batch file. if i am doing it wrong, i'd appreciate the help. is there a way i can set the 'star' file to be a batch file? i've tried using set star=c:\program files\cd-adapco\star-cd\bin\star.exe doesn't work though |
|
June 8, 2008, 23:58 |
Re: Star-CD batch mode error
|
#9 |
Guest
Posts: n/a
|
On windows, when you have problems, always use the star-shell from
Help -> STAR-Shell This way you will revert to a linux type system. Try to type "which star" or "setstar" in this shell. What happens? |
|
June 9, 2008, 00:05 |
Re: Star-CD batch mode error
|
#10 |
Guest
Posts: n/a
|
The star shell doesn't open, i'm guessing you mean from the star-launch window. it flashes up for a split second but then closes. i can't see that its displaying anything before it closes either.
i appreciate you all helping me out too. thanks heaps |
|
June 9, 2008, 23:04 |
Re: Star-CD batch mode error
|
#11 |
Guest
Posts: n/a
|
Hi
If the shell crashes, this is a problem with your installation. It is certainly related to your batch error actually. The software is certainly missing some components. You stop running and re-install. Kloth |
|
June 12, 2008, 00:11 |
Re: Star-CD batch mode error
|
#12 |
Guest
Posts: n/a
|
I re installed, still no STAR shell. Any idea as to what it could be missing??
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel Fluent Error in Batch Mode | Justin | FLUENT | 3 | November 28, 2016 11:50 |
Star-ccm+ batch mode on SGE | Karl Jensen | Siemens | 0 | February 4, 2009 16:54 |
fluent stops batch mode on error | Ralf Schmidt | FLUENT | 1 | March 1, 2008 11:35 |
[OpenFOAM] ParaView batch mode error | michael | ParaView | 0 | August 3, 2006 04:04 |
run star-applications in batch mode | thomas | Siemens | 6 | November 14, 2004 10:19 |