-
Notifications
You must be signed in to change notification settings - Fork 10
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
Installation fails at Compatibility Compiler Test 1 #47
Comments
Good morning,
I an away from my computer for the next few days. I will try to work on a
solution Friday and Saturday.
…On Wed, Jan 22, 2025, 10:35 AM Ever Daniel Barreto ***@***.***> wrote:
*Describe the bug*
I'm trying to install WRF using WRF-MOSIT on a clean AlmaLinux 9.5 server,
the script fails when it reaches the "Compatibility Compiler Test 1":
Library Compatibility Tests
Test 1
01_fortran+c+netcdf_f.f:5: Error: Can't open included file 'netcdf.inc'
/usr/bin/ld: cannot find 01_fortran+c+netcdf_f.o: No such file or directory
/usr/bin/ld: cannot find -lnetcdff
/usr/bin/ld: cannot find -lnetcdf
collect2: error: ld returned 1 exit status
./WRF-MOSIT.sh: line 23044: ./a.out: No such file or directory
Compatibility Compiler Test 1 Failed
*To Reproduce*
Steps to reproduce the behavior:
1. Install AlmaLinux 9.5
2. Run WRF-MOSIT as per instructions in Github
*Expected behavior*
Script to finish successfully with the WRF model compiled
*Screenshots*
The script log is available here:
https://gist.github.com/everdaniel/681e66e65223a70ec5cd89508a056e40
*Desktop (please complete the following information):*
- OS: AlmaLinux
- Version 9.5
*Additional context*
While running the script it failed several times as the system was missing
some tools, so I had to install the following:
sudo dnf install git -y
sudo dnf install curl htop wget zip unzip
sudo dnf install epel-release
sudo dnf install tar
sudo dnf install gcc-gfortran
sudo dnf group install "Development Tools"
and I also needed to update automake and autoconf to the latest versions:
autoconf (GNU Autoconf) 2.72
automake (GNU automake) 1.16.5
—
Reply to this email directly, view it on GitHub
<#47>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4FUT5ULE6FNGOV7VGML7ED2L7CDTAVCNFSM6AAAAABVVLSH5OVHI2DSMVQWIX3LMV43ASLTON2WKOZSHAYDIOBUGQ2DGNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
No worries thank you Will, I tried to do it with the Intel compilers but received a similar error as well:
full log here: https://gist.github.com/everdaniel/33ea1026e0d13b4361cd3fb7a5ade098 |
@everdaniel okay it looks like there is either a sudo password issue not being authorized on the machine. Are you the system admin for this sever and have sudo access? Almalinux is a tricky one but I will try to install it over the weekend on one of my spare hard drives and see what's failing. It could be a simple fix like the checks for apt or dnf didn't work as expected. |
Yes, I'm the system admin and I also have sudo access -- should I try to launch the script as sudo?
Oh I see, apologies I just double checked the README and it explicitily says "CentOS based systems not supported", I completely missed this bit very sorry. I'll just re-install the server and go with Ubuntu. |
Centos should be supported I'll have to double check that
…On Thu, Jan 23, 2025, 6:35 AM Ever Daniel Barreto ***@***.***> wrote:
@everdaniel <https://github.com/everdaniel> okay it looks like there is
either a sudo password issue not being authorized on the machine. Are you
the system admin for this sever and have sudo access?
Yes, I'm the system admin and I also have sudo access -- should I try to
launch the script as sudo?
Almalinux is a tricky one but I will try to install it over the weekend on
one of my spare hard drives and see what's failing. It could be a simple
fix like the checks for apt or dnf didn't work as expected.
Oh I see, apologies I just double checked the README and it explicitily
says "CentOS based systems not supported", I completely missed this bit
very sorry. I'll just re-install the server and go with Ubuntu.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4FUT5XGUPTVBYSMTOZU7SD2MDOXLAVCNFSM6AAAAABVVLSH5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBZGY4TQNBSGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I think I have found the source of the problem for AlmaLinux and all other RHL based systems. I am working on a fix now. |
Hi Will, let me know if there is any way I can help, I would be more than happy to, should I try with RockyLinux? |
Good morning,
Which version of WRF did you want to install? WRF-ARW? Chem?
…On Wed, Jan 29, 2025 at 8:42 PM Ever Daniel Barreto < ***@***.***> wrote:
@everdaniel <https://github.com/everdaniel> okay it looks like there is
either a sudo password issue not being authorized on the machine. Are you
the system admin for this sever and have sudo access?
Yes, I'm the system admin and I also have sudo access -- should I try to
launch the script as sudo?
Almalinux is a tricky one but I will try to install it over the weekend on
one of my spare hard drives and see what's failing. It could be a simple
fix like the checks for apt or dnf didn't work as expected.
Oh I see, apologies I just double checked the README and it explicitily
says "CentOS based systems not supported", I completely missed this bit
very sorry. I'll just re-install the server and go with Ubuntu.
I think I have found the source of the problem for AlmaLinux and all other
RHL based systems. I am working on a fix now.
Hi Will, let me know if there is any way I can help, I would be more than
happy to, should I try with RockyLinux?
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4FUT5WXJQM42OJVJF7A4UL2NGGRNAVCNFSM6AAAAABVVLSH5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRTGM4TGOJYGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes Will, I was trying to install WRF-ARW |
I can send you the script to try.
…On Thu, Jan 30, 2025, 7:35 AM Ever Daniel Barreto ***@***.***> wrote:
Good morning,
Which version of WRF did you want to install? WRF-ARW? Chem?
… <#m_8741670106291500891_>
Yes Will, I was trying to install WRF-ARW
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4FUT5XYS7VQW4SDKRRYLJ32NITBFAVCNFSM6AAAAABVVLSH5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRUGUZTIMRXHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
If we aren't connected on LinkedIn add me. I can send you the script to try
…On Thu, Jan 30, 2025, 7:35 AM Ever Daniel Barreto ***@***.***> wrote:
Good morning,
Which version of WRF did you want to install? WRF-ARW? Chem?
… <#m_8741670106291500891_>
Yes Will, I was trying to install WRF-ARW
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4FUT5XYS7VQW4SDKRRYLJ32NITBFAVCNFSM6AAAAABVVLSH5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRUGUZTIMRXHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Awesome will do that now |
Describe the bug
I'm trying to install WRF using WRF-MOSIT on a clean AlmaLinux 9.5 server, the script fails when it reaches the "Compatibility Compiler Test 1":
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Script to finish successfully with the WRF model compiled
Screenshots
The script log is available here: https://gist.github.com/everdaniel/681e66e65223a70ec5cd89508a056e40
Desktop (please complete the following information):
Additional context
While running the script it failed several times as the system was missing some tools, so I had to install the following:
sudo dnf install git -y
sudo dnf install curl htop wget zip unzip
sudo dnf install epel-release
sudo dnf install tar
sudo dnf install gcc-gfortran
sudo dnf group install "Development Tools"
and I also needed to update automake and autoconf to the latest versions:
autoconf (GNU Autoconf) 2.72
automake (GNU automake) 1.16.5
The text was updated successfully, but these errors were encountered: