Skip to content

Installation issue with instaseis: missing Fortran module #85

@HasanAwad-Polito

Description

@HasanAwad-Polito

Dear Instaseis team,

I am writing to you because I encountered an issue when trying to install the instaseis package on my system.
My system details are as follows:

My PC in windows 11 pro and I am using on it WSL - Windows Subsystem for Linux
Python Version: [3.10.11]
gfortran Version: GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Here's the sequence of steps I took:

Cloned the instaseis repository from GitHub.
1)Moved into the cloned directory and tried to install the package using pip install .
2)However, during the installation process, it failed with the following error:
instaseis/src/finite_elem_mapping.f90:49:9:

 49 |     use global_parameters, only            : sp, dp, pi
    |         1

Fatal Error: Cannot open module file ‘global_parameters.mod’ for reading at (1): No such file or directory
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1

Would you kindly assist?
It seems that the Fortran source file finite_elem_mapping.f90 cannot find a module file `global_parameters

Best,
Hasan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions