Well hello there,
I have successfully generated the executables for the WRF step, but have failed to generate the executables for the WPS step. There are exactly four error messages inside the log.compile file attached below. Two of the error messages are related to an undefined reference jpc_decode, while the other two error messages occur after
" /cvmfs/hpcsw.umd.edu/spack-software/2023.11.20/linux-rhel8-zen2/gcc-11.3.0/openmpi-4.1.5-enhf6gmjrfwdvbhsjrnehbkk6z2jijmu/lib
/cvmfs/hpcsw.umd.edu/spack-software/2023.11.20/linux-rhel8-x86_64/gcc-rh8-8.5.0/binutils-2.41-fwflc45p6lmk6rf7pyqumtvdqn65uj2n/bin/ld: error: /cvmfs/hpcsw.umd.edu/spack-software/2023.11.20/linux-rhel8-zen2/gcc-11.3.0/openmpi-4.1.5-enhf6gmjrfwdvbhsjrnehbkk6z2jijmu/lib: read: Is a directory
collect2: error: ld returned 1 exit status".
jpc_decode appears related to the JASPER utility. I did see one online discussion and a solution recommended to handle the undefined jpc_decode reference, but that solution did not work for my case. The other errors seem to originate within the file and directory highlighted in green above. I believe the */ld file reports the error, and the "collect2: error: ld returned 1 exit status" is indicating that certain things (I'm not sure what those things are) may be undefined according to what I have gathered online about this message. One thing that does stand out is that the */ld file and the */lib directory have an inconsistency that may be the problem, though I am not sure. Specifically the */ld contains linux-rhel8-x86_64 while */lib contains linux-rhel8-zen2. Up to that point, the directory structure preceding these different subdirectories is identical. I did find that another path containing the ld file does exist using the linux-rhel8-zen2 structure, i.e., /cvmfs/hpcsw.umd.edu/spack-software/2023.11.20/linux-rhel8-zen2/gcc-11.3.0/binutils-2.40-znva7hmicqg4oyd4njcd5jzrwh4diniq/bin/. I'm wondering if I need to use this directory instead of the one in the log file. If so, then it is not clear how I would do this since my environment is consistent with the zen2 directory structure and all the linked files and directories come from the directory hierarchy containing linux-rhel8-zen2. Perhaps this is not the issue, and if so, I would be grateful for any alternative suggestions. I should be good after getting through these errors.
Some other information:
Inside my "Build_WRF" directory resides LIBRARIES, WRF, and WPS. LIBRARIES contains directory links to the required netcdf, netcdf-fortran, and jasper directories, all of which have subdirectories (i.e., $HOME/Build_WRF/LIBRARIES/netcdf/lib, $HOME/Build_WRF/LIBRARIES/netcdf/include, and $HOME/Build_WRF/LIBRARIES/netcdf/bin; $HOME/Build_WRF/LIBRARIES/grib2 shares an identical subdirectory structure). The links to files and directories contained within these subdirectories come from paths that include the linux-rhel8-zen2 subdirectory as mentioned above.
Let me know if additional information is need, and thanks.
I have successfully generated the executables for the WRF step, but have failed to generate the executables for the WPS step. There are exactly four error messages inside the log.compile file attached below. Two of the error messages are related to an undefined reference jpc_decode, while the other two error messages occur after
" /cvmfs/hpcsw.umd.edu/spack-software/2023.11.20/linux-rhel8-zen2/gcc-11.3.0/openmpi-4.1.5-enhf6gmjrfwdvbhsjrnehbkk6z2jijmu/lib
/cvmfs/hpcsw.umd.edu/spack-software/2023.11.20/linux-rhel8-x86_64/gcc-rh8-8.5.0/binutils-2.41-fwflc45p6lmk6rf7pyqumtvdqn65uj2n/bin/ld: error: /cvmfs/hpcsw.umd.edu/spack-software/2023.11.20/linux-rhel8-zen2/gcc-11.3.0/openmpi-4.1.5-enhf6gmjrfwdvbhsjrnehbkk6z2jijmu/lib: read: Is a directory
collect2: error: ld returned 1 exit status".
jpc_decode appears related to the JASPER utility. I did see one online discussion and a solution recommended to handle the undefined jpc_decode reference, but that solution did not work for my case. The other errors seem to originate within the file and directory highlighted in green above. I believe the */ld file reports the error, and the "collect2: error: ld returned 1 exit status" is indicating that certain things (I'm not sure what those things are) may be undefined according to what I have gathered online about this message. One thing that does stand out is that the */ld file and the */lib directory have an inconsistency that may be the problem, though I am not sure. Specifically the */ld contains linux-rhel8-x86_64 while */lib contains linux-rhel8-zen2. Up to that point, the directory structure preceding these different subdirectories is identical. I did find that another path containing the ld file does exist using the linux-rhel8-zen2 structure, i.e., /cvmfs/hpcsw.umd.edu/spack-software/2023.11.20/linux-rhel8-zen2/gcc-11.3.0/binutils-2.40-znva7hmicqg4oyd4njcd5jzrwh4diniq/bin/. I'm wondering if I need to use this directory instead of the one in the log file. If so, then it is not clear how I would do this since my environment is consistent with the zen2 directory structure and all the linked files and directories come from the directory hierarchy containing linux-rhel8-zen2. Perhaps this is not the issue, and if so, I would be grateful for any alternative suggestions. I should be good after getting through these errors.
Some other information:
Inside my "Build_WRF" directory resides LIBRARIES, WRF, and WPS. LIBRARIES contains directory links to the required netcdf, netcdf-fortran, and jasper directories, all of which have subdirectories (i.e., $HOME/Build_WRF/LIBRARIES/netcdf/lib, $HOME/Build_WRF/LIBRARIES/netcdf/include, and $HOME/Build_WRF/LIBRARIES/netcdf/bin; $HOME/Build_WRF/LIBRARIES/grib2 shares an identical subdirectory structure). The links to files and directories contained within these subdirectories come from paths that include the linux-rhel8-zen2 subdirectory as mentioned above.
Let me know if additional information is need, and thanks.