CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Phoenics (https://www.cfd-online.com/Forums/phoenics/)
-   -   Out of Environment Space (https://www.cfd-online.com/Forums/phoenics/51385-out-environment-space.html)

Guillermo Solano April 3, 2002 12:58

Out of Environment Space
 
Hi everyone, I have done few modifications usin PLANT menu, but when I run Earth in private version on the MSDOS windows the message 'out of environment space' is displayed, Someone knows what is wrong? thank you for you colaboration.

jack April 3, 2002 14:52

Re: Out of Environment Space
 
SYMPTOMS

When you attempt to run an MS-DOS program in Windows, you may receive the following error message:

Out of environment space.

CAUSE

This issue can occur if you do not have enough memory in the MS-DOS environment to set an environment variable.

RESOLUTION

To resolve this issue, increase the default environment space available for MS-DOS programs. To do this, use one of the following methods.

Modify the Environment for All MS-DOS Programs

To increase the default environment space for all MS-DOS programs running in Windows, edit the Shell command in the Config.sys file. To

do this, follow these steps:

Click Start , and then click Run .

In the Open box, type sysedit , and then click OK .

Click the Config.sys window.

At the beginning of the Shell= line, type REM , and then press the SPACEBAR.

If the Shell= line does not exist, proceed to the next step.

Press the HOME key.

Type the following line to create a new Shell= line, and then press ENTER:

SHELL=C:\COMMAND.COM /E:4096 /P

On the File menu, click Save .

On the File menu, click Exit .

Restart the computer.

Modify the Environment for a Specific MS-DOS Program

To increase the default environment space for a specific MS-DOS program, follow these steps:

Right-click the MS-DOS program icon, and then click Properties .

Click the Memory tab.

In the Initial Environment box, type the number of kilobytes (KB) that the program requires, and then click OK .

NOTE : The maximum amount of memory that you can allocate for an MS-DOS program is 4096 KB.

Dr Salam Al-Far April 5, 2002 08:13

Re: Out of Environment Space
 
This may be related to the size of array that is specified for EARTH to run, you may reduce the total number of grid elements used inorder to fit the size of array on your m/c. If you have a recompilable PHOENICS then you may edit a file called EARTH main.for, and there find a variable called NFDIM, increase the size of this file and you should be able to run PHOENICS with no problem, however if you have a non recomplable PHOENICS, then contact CHAM for a special EARTH EXE. Good luck


All times are GMT -4. The time now is 18:03.