Hello,
I generate a text file and I would like please to know how to take the Code_Saturne the account in his calculations.
I use the command:
open(10, file=' name of file.txt' )
write(10,*) ........
to generate the file and it is created without problems.
But when I use : open(10,file='name of file.txt') ,
read(10,*) .......
Saturne return an error.
how can I do to resolve it?
Regards,
Ines SAGUEDONG
Code_Saturne 2.0.3 : programming problem
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Code_Saturne 2.0.3 : programming problem
Hello,
I have an idea of what could be going wrong, but if you do not post your error message first, I cannot be sure of the cause, and could give you a wrong explanation, so please follow the forum posting recommendations relative to description of problems if you want to avoid needless iterations.
Best regards,
Yvan
I have an idea of what could be going wrong, but if you do not post your error message first, I cannot be sure of the cause, and could give you a wrong explanation, so please follow the forum posting recommendations relative to description of problems if you want to avoid needless iterations.
Best regards,
Yvan
Re: Code_Saturne 2.0.3 : programming problem
Hello!
yes the error is:
Parallel Code_Saturne with partitioning in 2 sub-domains
Code_Saturne is running
***********************
Working directory (to be periodically cleaned) :
/home/saguedong/tmp_Saturne/INES2.CAS2.10151425
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
********************************************
At line 1383 of file /home/saguedong/tmp_Saturne/INES2.CAS2.10151425/src_saturne/ustssc.f90 (unit = 10, file = 'ines.txt')
At line 1383 of file /home/saguedong/tmp_Saturne/INES2.CAS2.10151425/src_saturne/ustssc.f90 (unit = 10, file = 'ines.txt')
Fortran runtime error: End of file
Fortran runtime error: End of file
--------------------------------------------------------------------------
mpirun has exited due to process rank 1 with PID 2332 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.
Tank you
Regards,
Ines
yes the error is:
Parallel Code_Saturne with partitioning in 2 sub-domains
Code_Saturne is running
***********************
Working directory (to be periodically cleaned) :
/home/saguedong/tmp_Saturne/INES2.CAS2.10151425
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
********************************************
At line 1383 of file /home/saguedong/tmp_Saturne/INES2.CAS2.10151425/src_saturne/ustssc.f90 (unit = 10, file = 'ines.txt')
At line 1383 of file /home/saguedong/tmp_Saturne/INES2.CAS2.10151425/src_saturne/ustssc.f90 (unit = 10, file = 'ines.txt')
Fortran runtime error: End of file
Fortran runtime error: End of file
--------------------------------------------------------------------------
mpirun has exited due to process rank 1 with PID 2332 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.
Tank you
Regards,
Ines
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Code_Saturne 2.0.3 : programming problem
Hello,
Did you copy the original file in your DATA directory ? With version 2.0, you also need to add the file to the list of user files (under the GUI, "Calculation management/Prepare batch calculation/User files, or directly in the runcase, under USER_INPUT_FILES).
Regards,
Yvan
Did you copy the original file in your DATA directory ? With version 2.0, you also need to add the file to the list of user files (under the GUI, "Calculation management/Prepare batch calculation/User files, or directly in the runcase, under USER_INPUT_FILES).
Regards,
Yvan
Re: Code_Saturne 2.0.3 : programming problem
Hello!
Tank you Yvan for your help.
Regards,
Ines Saguedong
Tank you Yvan for your help.
Regards,
Ines Saguedong