continue a calculation with Code Saturne

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
SAGUEDONG

continue a calculation with Code Saturne

Post by SAGUEDONG »

Hello!
I use a version 2.0.0 of Code Saturne. I'd like to know how to continue a calculation in Code Saturne.

In fact, I made a calculation with 5000 and would like ittérations continued until 10,000 without start over again.

Regards,
Ines Saguedong
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: continue a calculation with Code Saturne

Post by Yvan Fournier »

Hello,

This post belongs in "general usage", not installation, so I may move it soon.

The user documentation may not be very clear (it contains many details but lacks "how-to" information, but if you use the GUI, check for "calculation management/restart".
Without the GUI, you need to search for "restart" both in runcase and usini1.f90 (with version 2.0; things have been simplified/automated since).

Regards,

Yvan
SAGUEDONG

Re: continue a calculation with Code Saturne

Post by SAGUEDONG »

Hello!
Please I am not understand fine what you said.
I read a document where we are asked to impose variables ISUITE=1 , ILEAUX=1 and IECAUX=0 in the file USINI.f initial calculation. It then starts the calculation then gives the result file. It must then, on the cluster, copy the folder SUITE result in DATA folder and impose USINI1.F variables in ISUITE=1 and this time ILEAUX=0. If I wish to subsequently perform another calculation result, care should be taken to impose IECAUX=1,
otherwise leave IECAUX=0.

When i impose ISUITE=1 , ILEAUX=1 and IECAUX=0, the calculation do not run and I have this error:

Parallel Code_Saturne with partitioning in 2 sub-domains

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

Working directory (to be periodically cleaned) :
/home/saguedong/tmp_Saturne/KAGHO.CAS2.11012137

Kernel version: /home/saturne/opt/cs-2.0
Preprocessor: /home/saturne/opt/cs-2.0/bin

***************************************************************
Compilation of user subroutines and linking of Code_Saturne
***************************************************************

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


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

--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun has exited due to process rank 0 with PID 4958 on
node saguedong-EasyNote-TK85 exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
Error running the calculation.

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


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

Regards,
Ines Saguedong
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: continue a calculation with Code Saturne

Post by Yvan Fournier »

Hello,

The instructions you reveived were correct, though possibly incomplete. For a given calculation, you need to set iecaux=1 if the following calculation uses ielaux=1.

You did not post the "listing" or "error*" files, so I cannot confirm the problem is the one I suspect...

Regards,

Yvan
SAGUEDONG

Re: continue a calculation with Code Saturne

Post by SAGUEDONG »

Hello!
Excuse me, I had a problem connecting all these days.
the error file is:

/home/saturne/installer/bft-1.1.5/src/bft_file.c:794: Erreur fatale.

Error opening file "suiamo":

Aucun fichier ou dossier de ce type


Pile d'appels :
1: 0x14c6eb <+0x36eb> (libbft.so.1)
2: 0x14c73a <+0x373a> (libbft.so.1)
3: 0x14e071 <bft_file_open_stream+0xd1> (libbft.so.1)
4: 0x14e2e1 <bft_file_open+0xc1> (libbft.so.1)
5: 0x3e0c40 <fvm_file_open+0x1c0> (libfvm.so.0)
6: 0x92d4fc <+0x984fc> (libsaturne.so.0)
7: 0x92de8d <cs_io_initialize_with_index+0x24d> (libsaturne.so.0)
8: 0x9ddbd1 <cs_restart_create+0x281> (libsaturne.so.0)
9: 0x9de17b <opnsui_+0x1fb> (libsaturne.so.0)
10: 0xa29081 <lecamp_+0x399> (libsaturne.so.0)
11: 0xa28b9f <lecamo_+0x10f> (libsaturne.so.0)
12: 0x8c9e1e <caltri_+0xdee> (libsaturne.so.0)
13: 0x8af616 <cs_run+0x846> (libsaturne.so.0)
14: 0x8af975 <main+0x255> (libsaturne.so.0)
15: 0x7270ce7 <__libc_start_main+0xe7> (libc.so.6)
16: 0x804a061 <> (cs_solver)
Fin de la pile

Regards,
Ines
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: continue a calculation with Code Saturne

Post by Yvan Fournier »

Hello,

This simply means you did not define the restart directory correctly in the runcase file (you can also define it using the GUI).

Regards,

Yvan
Post Reply