Skip to content

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

@VeniVeci

Description

@VeniVeci
  • operating system (Ubuntu 16)
  • compiler & version (there are gfortran and f95 on the Linux OS)
  • Python version (python 3.8)

the log is:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions