×

Notice

The forum is in read only mode.

Code Saturn - Error in calculation stage.

  • MGolbs
  • MGolbs's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
13 years 10 months ago #5539 by MGolbs
Hallo,

beim ersten Testmodell mit Code Satur bekomme ich folgende Fehlermeldung:

mitarbeiter@firma-Salome-Code-Aster:~/Code-Saturn/2011-05-18/SCRIPTS$ ./runcase
grep: CASEDIRNAME/DATA/2011-05-17-Testlauf-1.xml: Datei oder Verzeichnis nicht gefunden
cp: reguläre Datei „CASEDIRNAME/RESU/runcase.06031358“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
./runcase: Zeile 342: CASEDIRNAME/SCRIPTS/runningext.06031358: Datei oder Verzeichnis nicht gefunden


Parallel Code_Saturne with partitioning in 4 sub-domains

Code_Saturne is running
***********************

Working directory (to be periodically cleaned) :
/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06031358

Kernel version: /usr/local
Preprocessor: /usr/local/bin

-- ERROR --
The parameters file CASEDIRNAME/DATA/2011-05-17-Testlauf-1.xml
can not be accessed.


Ein zweiter Versuch kam auch nicht viel weiter:



mitarbeiter@firma-Salome-Code-Aster:~/Code-Saturn/2011-05-18/SCRIPTS$ ./runcase


Parallel Code_Saturne with partitioning in 4 sub-domains

Code_Saturne is running
***********************

Working directory (to be periodically cleaned) :
/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06031405

Kernel version: /usr/local
Preprocessor: /usr/local/bin

********************************************
Preparing calculation
********************************************


********************************************
Starting calculation
********************************************

Warning: /usr/local/bin/cs_partition not found.

The partitioner may not have been installed
(this is the case if neither METIS nor.
SCOTCH are avaialable).

Unoptimized partitioning will be used, so
parallel performance may be degraded.

/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06031405/cs_solver was built without MPI support,
so option "--mpi" may not be used.
/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06031405/cs_solver was built without MPI support,
so option "--mpi" may not be used.
/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06031405/cs_solver was built without MPI support,
so option "--mpi" may not be used.
/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06031405/cs_solver was built without MPI support,
so option "--mpi" may not be used.
Error running the calculation.

Check Kernel log (listing) and error* files for details


********************************************
Error in calculation stage.
********************************************


in der error Datei stand folgendes:


Call stack:
1: 0x7fbad3512af9 <cs_opts_define+0x879> (libsaturne.so.0)
2: 0x7fbad3428abf <main+0x8f> (libsaturne.so.0)
3: 0x7fbad16ebd8e <__libc_start_main+0xfe> (libc.so.6)
4: 0x4006a9 <> (cs_solver)

Call stack:
1: 0x7fbad3512af9 <cs_opts_define+0x879> (libsaturne.so.0)
2: 0x7fbad3428abf <main+0x8f> (libsaturne.so.0)
3: 0x7fbad16ebd8e <__libc_start_main+0xfe> (libc.so.6)
4: 0x4006a9 <> (cs_solver)
End of stack

End of stack



Wo könnte ich anfangen den Fehler zu suchen?

Gruß und Dank Markus

Dem Überflüssigen nachlaufen, heißt das Wesentliche verpassen.
Jules Saliège
More
13 years 10 months ago #5542 by Torben
In the Code Saturne GUI -> Calculation management -> Prepare batch calculation section check that the "Number of processors" is one and run the case again.

If this works and you do have mpi installed it may be the environment (PATH) that misses something (try running mpirun in a shell window).
  • MGolbs
  • MGolbs's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
13 years 10 months ago #5543 by MGolbs
Hello,

thank's! I have test it with 1, 2 ... 24 CPU's in the "Number of processors". I think it is an problem of my installation of Code Saturn under nativ ubuntu 10.04 64bit. Of a system with CAELinux 2010 an there Code Saturn the modell run's. Thank for the replay. I will test the mpi installation unter nativ ubuntu 10.04.

Greeting Markus

Dem Überflüssigen nachlaufen, heißt das Wesentliche verpassen.
Jules Saliège
More
13 years 10 months ago #5548 by Torben
If it does not work with one processor it is probably an issue of base installation or environment. I don't know if these values are normal for a correct installation on Ubuntu:

Kernel version: /usr/local
Preprocessor: /usr/local/bin


In my installation it says:

Kernel version: /opt/code_saturne/Noyau/ncs-1.3.3
Preprocessor version: /opt/code_saturne/Enveloppe/ecs-1.3.3


but that is because I compiled/installed CS in /opt/code_saturne.
  • MGolbs
  • MGolbs's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
13 years 10 months ago #5549 by MGolbs
Hello,
thanks. I will test this config. This time I use the CAELinux Version of Code-Saturne, and it works very well!

Greeting Markus


Hello,

the next problem is the "cs_partition" but why?

mitarbeiter@firmaag-Salome-Code-Aster:~/ncs-2.0.1/bin$ ./code_saturne gui
nohup: leite Standardfehlerausgabe auf Standardausgabe um
/home/mitarbeiter/solve/cfd/SCRIPTS/runcase: Zeile 361: /home/mitarbeiter/ncs-2.0.1/share/ncs/runcase_mpi_env: Datei oder Verzeichnis nicht gefunden


/home/mitarbeiter/solve/cfd/SCRIPTS/runcase: Zeile 385: [: -gt: Einstelliger (unärer) Operator erwartet.
Single processor Code_Saturne simulation
/home/mitarbeiter/solve/cfd/SCRIPTS/runcase: Zeile 403: [: -gt: Einstelliger (unärer) Operator erwartet.

Code_Saturne is running
***********************

Working directory (to be periodically cleaned) :
/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06101409

Kernel version: /home/mitarbeiter/ncs-2.0.1
Preprocessor: /home/mitarbeiter/ecs-2.0.1/bin
Usage: code_saturne check_consistency [options]

code_saturne check_consistency: error: option --nproc: invalid integer value: ''

********************************************
Preparing calculation
********************************************

/home/mitarbeiter/solve/cfd/SCRIPTS/runcase: Zeile 584: [: Zu viele Argumente.

********************************************
Starting calculation
********************************************

Error running the preprocessor.
Check preprocessor log (listpre) for details.

/home/mitarbeiter/solve/cfd/SCRIPTS/runcase: Zeile 770: [: Zu viele Argumente.
Error running the partitioner.
Check partitioner log (listpart) for details.


********************************************
Error in partitioning stage.
********************************************
nohup: leite Standardfehlerausgabe auf Standardausgabe um
/home/mitarbeiter/solve/cfd/SCRIPTS/runcase: Zeile 361: /home/mitarbeiter/ncs-2.0.1/share/ncs/runcase_mpi_env: Datei oder Verzeichnis nicht gefunden


Parallel Code_Saturne with partitioning in 4 sub-domains

Code_Saturne is running
***********************

Working directory (to be periodically cleaned) :
/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06101410

Kernel version: /home/mitarbeiter/ncs-2.0.1
Preprocessor: /home/mitarbeiter/ecs-2.0.1/bin

********************************************
Preparing calculation
********************************************


********************************************
Starting calculation
********************************************

Error running the preprocessor.
Check preprocessor log (listpre) for details.

Warning: /home/mitarbeiter/ecs-2.0.1/bin/cs_partition not found.

The partitioner may not have been installed
(this is the case if neither METIS nor.
SCOTCH are avaialable).

Unoptimized partitioning will be used, so
parallel performance may be degraded.


********************************************
Error in preprocessing stage.
********************************************
nohup: leite Standardfehlerausgabe auf Standardausgabe um
RUN=/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06101410 already exists.
The simulation will not be run.
mitarbeiter@firmaag-Salome-Code-Aster:~/ncs-2.0.1/bin$ ./code_saturne gui
nohup: leite Standardfehlerausgabe auf Standardausgabe um
RUN=/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06101410 already exists.
The simulation will not be run.
mitarbeiter@firmaag-Salome-Code-Aster:~/ncs-2.0.1/bin$ ./code_saturne gui
nohup: leite Standardfehlerausgabe auf Standardausgabe um
/home/mitarbeiter/solve/cfd/SCRIPTS/runcase: Zeile 361: /home/mitarbeiter/ncs-2.0.1/share/ncs/runcase_mpi_env: Datei oder Verzeichnis nicht gefunden


Parallel Code_Saturne with partitioning in 4 sub-domains

Code_Saturne is running
***********************

Working directory (to be periodically cleaned) :
/home/mitarbeiter/tmp_Saturne/STUDYNAME.CASENAME.06101412

Kernel version: /home/mitarbeiter/ncs-2.0.1
Preprocessor: /home/mitarbeiter/ecs-2.0.1/bin

********************************************
Preparing calculation
********************************************


********************************************
Starting calculation
********************************************

Error running the preprocessor.
Check preprocessor log (listpre) for details.

Warning: /home/mitarbeiter/ecs-2.0.1/bin/cs_partition not found.

The partitioner may not have been installed
(this is the case if neither METIS nor.
SCOTCH are avaialable).

Unoptimized partitioning will be used, so
parallel performance may be degraded.


********************************************
Error in preprocessing stage.
********************************************

<br /><br />Post edited by: MGolbs, at: 2011/06/10 15:21

Dem Überflüssigen nachlaufen, heißt das Wesentliche verpassen.
Jules Saliège
More
13 years 10 months ago #5557 by Torben
Seem You have asked for 4 processors. This requires the you actually have 4 processors available. Also - if the case runs when using 1 processor it could be the mpi installation that is not present or incompatible. I use the old version of CS so transcrips are different.

Did You do as code Saturne proposed: &quot;Check preprocessor log (listpre) for details&quot;?<br /><br />Post edited by: Torben, at: 2011/06/10 19:58
Moderators: catux
Time to create page: 0.179 seconds
Powered by Kunena Forum