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

WW3 fails to compile on M1/gnu with "sed invalid command L" #122

Open
platipodium opened this issue Aug 15, 2022 · 1 comment
Open

WW3 fails to compile on M1/gnu with "sed invalid command L" #122

platipodium opened this issue Aug 15, 2022 · 1 comment

Comments

@platipodium
Copy link
Contributor

On Apple Silicon M1 with gcc/mpich toolchain, the build.sh script fails when WW3 is included:

	exec /Applications/Xcode.app/Contents/Developer/usr/bin/make -j 1 WW3_COMP="gnu" COMP_BINDIR="/Users/Lemmen/devel/noaa/CoastalApp/WW3_INSTALL" ww3_nems
No module selected.
+ cd /Users/Lemmen/devel/noaa/CoastalApp/WW3/model/esmf
+ export COMP_SRCDIR=/Users/Lemmen/devel/noaa/CoastalApp/WW3/model COMP_BINDIR=/Users/Lemmen/devel/noaa/CoastalApp/WW3_INSTALL WW3_COMP=gnu
+ COMP_SRCDIR=/Users/Lemmen/devel/noaa/CoastalApp/WW3/model
+ COMP_BINDIR=/Users/Lemmen/devel/noaa/CoastalApp/WW3_INSTALL
+ WW3_COMP=gnu
+ exec /Applications/Xcode.app/Contents/Developer/usr/bin/make -j 1 WW3_COMP=gnu COMP_BINDIR=/Users/Lemmen/devel/noaa/CoastalApp/WW3_INSTALL ww3_nems

                *****************************
              ***   WAVEWATCH III setup     ***
                *****************************


[INFO] local env file wwatch3.env found in /Users/Lemmen/devel/noaa/CoastalApp/WW3/model/bin/wwatch3.env
sed: 1: "/Users/Lemmen/devel/noa ...": invalid command code L
make[1]: *** [setup] Error 1
make: *** [/Users/Lemmen/devel/noaa/CoastalApp/WW3_INSTALL/nuopc.mk] Error 2
@josephzhang8
Copy link

@takis:

Carsten and I are pulling the latest CoastalApp (develop branch) but WW3 cannot be checked out automatically.
Carsten also tried with a version of WW3 he downloaded but the build failed with errors related to METIS and PARMETIS.

Can u plz check to see if you can build successfully?

Thx.

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

2 participants