Ask Your Question
0

How could I make a barotropic (2D) simulation?

asked 2022-12-05 12:52:22 +0100

I have been trying to do a barotropic simulation, for this I have configured a cppdefs.h without fresh water sources (psource) and I have undefined solve3d. However, when I do the jobcomp I get errors, and finally the croco executable is not generated.

Next I will leave the cppdefs.h file, the jobcomp and the log that it delivers when it is executed.

C:\fakepath\jobcomp.bash C:\fakepath\cppdefs.h C:\fakepath\log_jobcomp_exp3.txt

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2022-12-17 00:18:28 +0100

Hi Guillaume,

I tried running the jobcomp in the way you mentioned and this is the log that was recorded:

C:\fakepath\log_jobcomp_exp3.txt

I swear I copied and pasted the bash command just as you told me, hahaha.

edit flag offensive delete link more

Comments

Ok Tomas, this is now the good one ...! I am wondering what version ( which release or commit ) of croco codes you are using ? Guillaume

Gui gravatar imageGui ( 2023-01-03 16:37:22 +0100 )edit
0

answered 2022-12-05 13:18:55 +0100

Rachid gravatar image

Hi

The way you did it seems ok. I'm not sure the log you attached is totally complete, the end looks missing

Rachid

edit flag offensive delete link more

Comments

Hi Rachid, The log I uploaded is complete, the process stops there every time I launch it. I am experimenting with different types of configurations and this is the only one where I have errors when executing the jobcomp.

TomásVP gravatar imageTomásVP ( 2022-12-05 14:29:31 +0100 )edit

Hi, I am wondering if you redirect the error on your "log_jobcomp_exp3.txt" ? If not maybe compile in this way : ./jobcomp > log_jobcomp_exp3.txt 2>&1 Then tell us what happen Guillaume

Gui gravatar imageGui ( 2022-12-07 10:04:23 +0100 )edit

Hi, I did ./jobcomp > log_jobcomp_exp3.txt, in the file I uploaded, in terminal the output is the same as in the txt file. I couldn't say why it cuts off. Thanks a lot. Stay tuned.

TomásVP gravatar imageTomásVP ( 2022-12-16 02:02:16 +0100 )edit

Hi Tomas It s strange, don't forget the 2>&1, doing like this : ./jobcomp > log_jobcomp_exp3.txt 2>&1

Gui gravatar imageGui ( 2022-12-16 16:57:03 +0100 )edit

Hi Guillaume, I just uploaded the file resulting from doing the jobcomp in a separate comment on this question.

TomásVP gravatar imageTomásVP ( 2022-12-17 00:21:01 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2022-12-05 12:52:22 +0100

Seen: 35 times

Last updated: Dec 17 '22