CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   execute 2 codes (https://www.cfd-online.com/Forums/main/2859-execute-2-codes.html)

Mehdi BEN ELHADJ December 3, 2000 10:32

execute 2 codes
 
Last time I execute the PHOENICS code simulations with the command "pc" in cmdtool (unix).

now we have installed STARCD too (it runs without problem), and if I write "pc" to run phoenics I learn "command not found".

Can some one help me please.

Jas December 4, 2000 03:43

Re: execute 2 codes
 
Hi,

Check your configuration files to make sure that you have set your environment variables properly.

eg

type evn

if you do not see something like

PATH = u:/...../..../pc.exe or whatever your executable is called then the computer won't know where to look for your program. If your starting it through desktop then check your shortcuts.

you can set your variables by either typing

setenv PATH path-to-file-name

where path-to-file-name is the file path to your executable or modify your the text file directly which should be in your home directory.

Jas

Jas December 4, 2000 07:14

Re: execute 2 codes
 
Sorry,

I meant type env not evn

also the file that you need to check is your .cshrc file which holds your personalised settings and executes everytime you start up a new shell.

Regards



All times are GMT -4. The time now is 00:44.