-
Dear All, I hope this email finds everyone in great spirits! I understand how busy things can get, but I’d be incredibly grateful if someone could help me with an issue I’m facing while configuring gotm.yaml and fabm.yaml. I’ve attached both files for your reference. My goal is to set up the configuration to calculate DIC and pCO2. Unfortunately, I keep encountering the following error message: "FATAL ERROR: coupling target is invalid." I’ve been trying to resolve this on my own, but I haven’t had much luck. If anyone has insights or suggestions, your expertise would be greatly appreciated! Thank you so much for taking the time to consider my request—it means a lot to me. Please don’t hesitate to reach out if you need any additional details from my side. Looking forward to your guidance! Warm regards, Noted: fabm.yaml; Section as defined for DIC, pCO2 configuration gotm.yaml; fabm setting fabm: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi Farshid, Is there any earlier eror message printed before the "FATAL ERROR"? I do not see anything strange in the yaml snippets you have included above, so can you attach your complete Best, Jorn |
Beta Was this translation helpful? Give feedback.
-
Hi Jorn,
Good to hear from you.
The error has popped up again, and it is as follows:
$~/source/repos/GOTM/setup$ cat gotm.log
STOP 1
------------------------------------------------------------------------
GOTM started on 2024/12/19 at 11:19:27
------------------------------------------------------------------------
initialize_gotm
------------------------------------------------------------------------
Reading configuration from: gotm.yaml
configuring modules ....
init_airsea_yaml
done
init_observations_yaml
init_stokes_drift_yaml
done
init_turbulence_yaml
done.
init_gotm_fabm_yaml
Reading configuration from:
fabm.yaml
done.
init_meanflow_yaml
done
init_eqstate_yaml
init_density()
Linearized - TEOS10 - using S0, T0, p0
S0= 35.000000000000000
T0= 10.000000000000000
p0= 0.0000000000000000
rho0= 1027.0000000000000
alpha= 1.6625612540220982E-004
beta= 7.5366784499087118E-004
cp= 3991.8679571196299
done.
FATAL ERROR: model /msi_ergom1, process_coupling_tasks: Coupling target
"O3/c" for "dic" was not found.
Initializing msi_ergom1...
model type: msi_ergom1
initialization succeeded.
Initializing O3...
model type: pml/carbonate
initialization succeeded.
Initializing pCO2_atm...
model type: surface_constant
initialization succeeded.
The code I use was downloaded and compiled from the below repository;
https://github.com/gotm-model/code,
Please find attached 'fabm.yaml' and 'gotm.yaml'
Thanks Jorn for your support,
Cheers,
Farshid
…On Thu, Dec 19, 2024 at 5:18 AM Jorn Bruggeman ***@***.***> wrote:
Hi Farshid,
Is there any earlier eror message printed before the "FATAL ERROR"? I do
not see anything strange in the yaml snippets you have included above, so
can you attach your complete fabm.yaml file? And what version of FABM are
you using?
Best,
Jorn
—
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMHF4IQNHEBU5NQNDEFEML2GKB5VAVCNFSM6AAAAABT3RTBF6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRRGQ3DENQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Dear Jorn, if you can find the attached files I can past below; 'fabm.yaml'
'gotm.yaml'
|
Beta Was this translation helpful? Give feedback.
-
Hi Farshid, The issue is due to having a mixture of the old and new PML carbonate model in your Alternatively, if you really do want to use the old carbonate model, you'd have to change the
And your coupling section of
However, I note the settings in your Best, Jorn |
Beta Was this translation helpful? Give feedback.
-
Hi Jorn, Thank you very much for your helpful suggestion. After recompiling GOTM-FABM with ERSEM included, the model ran exactly as expected, similar to my previous runs. Unfortunately, I had forgotten to compile ERSEM with GOTM earlier, so I had been using the carbonate system configuration, as shown below: coupling: Below, I leave the command used for recompiling: cmake ../code/ -DFABM_INSTITUTES="msi;ersem;pml;au;bb;gotm;su" -DFABM_ERSEM_BASE=../../ersem/ make install -j4 To make sure ersem/carbonate has already compiled 'find -name "ersem" -or -name "carbonate"' CHEERS, |
Beta Was this translation helpful? Give feedback.
Hi Farshid,
The issue is due to having a mixture of the old and new PML carbonate model in your
fabm.yaml
. If you replacemodel: pml/carbonate
(the old model version) withmodel: ersem/carbonate
(the new version), and you have compiled FABM with ERSEM included, it all works fine.Alternatively, if you really do want to use the old carbonate model, you'd have to change the
O3
section to something like:And your coupling section of
msi_ergom1
to:However, I note the settings in your
gotm.yaml
file (e.g., the mention of…