space-physics / iri2016

International Reference Ionosphere 2016 from Python and Matlab
http://irimodel.org/
MIT License
67 stars 34 forks source link

hello, I have a problem when I use the iri2016 under the Linux operating system. Please help me and thank you!~ #34

Open VeniVeci opened 1 year ago

VeniVeci commented 1 year ago

Configure with command: "/home/ionolab/.local/lib/python3.8/site-packages/cmake/data/bin/cmake" "-GUnix Makefiles" "/home/ionolab/.local/lib/python3.8/site-packages/iri2016" Run command: "/home/ionolab/.local/lib/python3.8/site-packages/cmake/data/bin/cmake" "-GUnix Makefiles" "/home/ionolab/.local/lib/python3.8/site-packages/iri2016" -- The Fortran compiler identification is GNU 5.4.0 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - failed -- Check for working Fortran compiler: /usr/bin/f95 -- Check for working Fortran compiler: /usr/bin/f95 - broken -- Configuring incomplete, errors occurred! See also "/home/ionolab/.local/lib/python3.8/site-packages/iri2016/build/CMakeFiles/CMakeOutput.log". See also "/home/ionolab/.local/lib/python3.8/site-packages/iri2016/build/CMakeFiles/CMakeError.log". CMake Error at /home/ionolab/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.24/Modules/CMakeTestFortranCompiler.cmake:61 (message):

The Fortran compiler "/usr/bin/f95" is not able to compile a simple test program.

It fails with the following output:


-- Configuring incomplete, errors occurred! See also "/home/ionolab/.local/lib/python3.8/site-packages/iri2016/build/CMakeFiles/CMakeOutput.log". See also "/home/ionolab/.local/lib/python3.8/site-packages/iri2016/build/CMakeFiles/CMakeError.log". Command exited with the value: 1 Error(s) when configuring the project -- SKIP: ctest_build(): returncode: -1; CMake error code: -1 -- SKIP: ctest_test(): returncode: -1; CMake error code: -1 CMake Error at /home/ionolab/.local/lib/python3.8/site-packages/iri2016/setup.cmake:124 (message): Build and test failed.

Traceback (most recent call last): File "/mnt/hgfs/myshare/swpkg/modules/parafuse_nc_plot/testIRI.py", line 4, in iono = iri2016.IRI("2003-11-21T12",(80,1000,10),100,100) File "/home/ionolab/.local/lib/python3.8/site-packages/iri2016/base.py", line 30, in IRI build(iri_name) File "/home/ionolab/.local/lib/python3.8/site-packages/iri2016/build.py", line 17, in build raise RuntimeError(f"not able to build {exe_name}") RuntimeError: not able to build iri2016_driver