Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add commas to namelists #8

Open
malmans2 opened this issue Feb 11, 2022 · 1 comment
Open

Add commas to namelists #8

malmans2 opened this issue Feb 11, 2022 · 1 comment

Comments

@malmans2
Copy link
Member

Maybe this has been fixed in main/NEMO4.2?
We should check once it gets released.

# Add commas to namelists
echo "Adding commas to namelists"
for BOOL in true false TRUE FALSE; do
find "$NEMODIR"/. -type f \( -name "*namelist*_ref" -o -name "*namelist*_cfg" \) -exec perl -pi -e "s/.$BOOL.(?!\s*,)/.$BOOL.,/g" {} +
done

@malmans2
Copy link
Member Author

This is an Archer2/Cray issue, unrelated to NEMO!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant