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

Error Building WRF #800

Open
AminFazlKazemi opened this issue May 2, 2022 · 1 comment
Open

Error Building WRF #800

AminFazlKazemi opened this issue May 2, 2022 · 1 comment
Milestone

Comments

@AminFazlKazemi
Copy link

AminFazlKazemi commented May 2, 2022

Hi

Thanks for your great package.

I tried install WRF using:

eb WRF-4.3-foss-2021a-dmpar.eb -r

in command line.

I faced this problem when it wanted to install GCCCore 10.3.0:

== building...
== ... (took 17 mins 29 secs)
== FAILED: Installation ended unsuccessfully (build directory: /home/geophysics/easybuild/.local/easybuild/build/GCCcore/10.3.0/system-system): build failed (first 300 chars): cmd " ./configure --prefix=/home/geophysics/easybuild/.local/easybuild/build/GCCcore/10.3.0/system-system/gcc-10.3.0/stage2_stuff --with-pic --disable-shared --enable-cxx  --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu" exited with exit code 1 and output:
checking build system type... x86_64 (took 18 mins 4 secs)
== Results of the build can be found in the log file(s) /tmp/eb-wr0s4cjr/easybuild-GCCcore-10.3.0-20220502.142849.ezIZq.log
ERROR: Build of /home/geophysics/easybuild/.local/easybuild/easyconfigs/g/GCCcore/GCCcore-10.3.0.eb failed (err: 'build failed (first 300 chars): cmd " ./configure --prefix=/home/geophysics/easybuild/.local/easybuild/build/GCCcore/10.3.0/system-system/gcc-10.3.0/stage2_stuff --with-pic --disable-shared --enable-cxx  --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu" exited with exit code 1 and output:\nchecking build system type... x86_64')

I treid and installed GCCCore11.2.0 successfully using easy build but the .eb file of WRF needs GCCCore10.3.0

I have installed LinuxFedora35 so my compilers are all uptodate.

What can I do to complete instllation of WRF?

@boegel boegel added this to the 4.x milestone May 11, 2022
@boegel
Copy link
Member

boegel commented May 11, 2022

@AminFazlKazemi It's impossible to tell based on this what the actual problem is, you'll need to take a closer look at the EasyBuild log file, and perhaps also the config.file in the build directory, so see what went wrong exactly.

The fact that building GCCcore 11.2.0 worked fine but GCCcore 10.3.0 doesn't hints towards a problem with your system compiler or binutils being too new to build GCC 10.x with...

@verdurin Since you often use Fedora as well, have you seen this?

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

No branches or pull requests

2 participants