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
https://github.com/usnistgov/REFPROP-cmake
32 stars 8 forks source link

-m32 causes crash on arm processors #41

Open ericksonla opened 7 years ago

ericksonla commented 7 years ago

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.

jowr commented 7 years ago

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

ericksonla commented 7 years ago

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.

ibell commented 6 years ago

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