jowr / librefprop.so

Create a shared library from the Fortran sources provided by Refprop from NIST. This project provides an alternative to the refprop.dll that comes with the software. Please use the official instructions if possible

Home Page:https://github.com/usnistgov/REFPROP-cmake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-m32 causes crash on arm processors

ericksonla opened this issue · comments

gfortran on arm processors doesn't like the -m32 flag. It causes 'gfortran: error: unrecognized command line option ‘-m32’'. I was able to solve it by commenting on the like in the Makefile where it is set, ARCHFLAG :=-m32.

Good to hear that you solved it yourself. Would you be able to file a pull request that detects the architecture automatically?

Unfortunately, I have no idea how to do that. My goal was mostly to have this information posted so that others could find it and solve it the same way if necessary. And, frankly, I'm going to forget and need to do it again in the future, so I wanted the info available for myself.

You might want to use https://github.com/usnistgov/REFPROP-cmake . There is a flag to set the bitness.