Skip to content
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

Unable to build OMSens Linux #26

Open
schrummy14 opened this issue Jun 2, 2023 · 1 comment
Open

Unable to build OMSens Linux #26

schrummy14 opened this issue Jun 2, 2023 · 1 comment

Comments

@schrummy14
Copy link

Hello,
I am experiencing a build issue when following the README.

The first error I experienced was not having Cython installed.
After installing this, I got the first build error that was looking for numpy.
OMSens_build.log

If I first installed numpy, I then get an error when building pandas 1.1.3
OMSens_build_numpy_installed.log

DIST: Ubuntu 22.04

Please let me know if you would like any additional information.

@IvanLloro
Copy link
Contributor

I guess you are using the included (broken) setup.py. As per today, CMake does not work, either. The trick is to manually:

  1. Compile the fortran_interface:
  cd OMSens/fortran_interface
  gfortran -fPIC -c Rutf.for Rut.for Curvif.for
  f2py --verbose -c -I. Curvif.o Rutf.o Rut.o -m curvif_simplified curvif_simplified.pyf Curvif_simplified.f90

  1. Copy the OMSens directory into /usr/share/OMSens

I have just created an ebuild for Gentoo Linux for OpenModelica 1.23.1 which I guess I'll upload to Gentoo GURU repository at some point. It can work as a suitable install guideline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants