Skip to content
This repository was archived by the owner on Mar 29, 2019. It is now read-only.
This repository was archived by the owner on Mar 29, 2019. It is now read-only.

Matlab 64bit installation on Linux (Ubuntu) #38

@m-pas

Description

@m-pas

First of all let me thank everyone for all the work done to make Refprop available on Linux.
I installed librefprop following the instructions and successfully ran the Fortran test. Then I tried to do the matlab integration (Matlab R2015b 64bit). I ran make matlab and again followed the instructions. The next step is where I ran into problems.
Running sudo make matlab-install results in:

mv ./matlab/refpropm.m ./matlab/rp_proto64.m /opt/refprop
mv ./matlab/librefprop_thunk_glnxa64.so /opt/refprop
chmod /opt/refprop/*.m /opt/refprop/*.so
chmod: invalid mode: ‘/opt/refprop/refpropm.m’
Try 'chmod --help' for more information.
make: *** [matlab-install] Error 1

However, upon re-running sudo make matlab-install I get a different feedback:

curl http://www.boulder.nist.gov/div838/theory/refprop/LINKING/refpropm.m > ./matlab/refpropm.m.org
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 31730  100 31730    0     0  55333      0 --:--:-- --:--:-- --:--:-- 55375
cp ./matlab/refpropm.m.org ./matlab/refpropm.m
curl http://www.boulder.nist.gov/div838/theory/refprop/LINKING/rp_proto64.m > ./matlab/rp_proto64.m.org
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 51741  100 51741    0     0  86152      0 --:--:-- --:--:-- --:--:-- 86091
cp ./matlab/rp_proto64.m.org ./matlab/rp_proto64.m
mv ./matlab/refpropm.m ./matlab/rp_proto64.m /opt/refprop
mv ./matlab/librefprop_thunk_glnxa64.so /opt/refprop
mv: cannot stat ‘./matlab/librefprop_thunk_glnxa64.so’: No such file or directory
make: *** [matlab-install64] Error 1
rm matlab/refpropm.m.org matlab/rp_proto64.m.org

Every helpful input is greatly appreciated!

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