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

Installation Problems #28

Closed
pangtai6 opened this issue Nov 16, 2022 · 15 comments
Closed

Installation Problems #28

pangtai6 opened this issue Nov 16, 2022 · 15 comments

Comments

@pangtai6
Copy link

My computer is an intel MacBook, but there was a problem during the final installation and Matlab connection. I would like to ask for help.
image

@dpo
Copy link
Contributor

dpo commented Nov 16, 2022

@pangtai6 What you're showing is warning. Could you please show the entire compilation log? You could, e.g., put it in a gist and paste a link here. Also it would help to know what options you've chosen and what version of ifort/icc you are using. Thanks.

@pangtai6
Copy link
Author

Error.pdf
Thank you very much for your timely reply.When I move to the ./cutest directory and enter the command $ARCHDEFS/install_optrove,the process stop.My version of ifort is version 19.1.3.301.My icc version is 19.1.3.301 (gcc version 4.9.0 compatibility).I put the run log in the file.
Sorry to bother you, but thank you for your reply.

@dpo
Copy link
Contributor

dpo commented Nov 16, 2022

I believe that to be a bug with the Intel compiler that I noticed in version 2022.3. I wrote to them about it recently but received no reply. Downgrading to 2022.2 solved the problem for me.

@dpo
Copy link
Contributor

dpo commented Nov 16, 2022

Alternatively, you could use gcc/gfortran.

@nimgould
Copy link
Contributor

Not for Matlab on Macs nowadays

@pangtai6
Copy link
Author

pangtai6 commented Nov 18, 2022 via email

@pangtai6
Copy link
Author

Is it impossible to use Matlab to call cutest now? In other words, do I need to call cutest in the python environment now?

Not for Matlab on Macs nowadays

@dpo
Copy link
Contributor

dpo commented Nov 18, 2022

I don't believe it is impossible but I haven't tried lately, focusing instead on the Julia interface: https://github.com/JuliaSmoothOptimizers/CUTEst.jl

@nimgould Is right that only certain compilers are supported by Matlab on each platform. I'll try when I get a chance.

@pangtai6
Copy link
Author

I don't believe it is impossible but I haven't tried lately, focusing instead on the Julia interface: https://github.com/JuliaSmoothOptimizers/CUTEst.jl

@nimgould Is right that only certain compilers are supported by Matlab on each platform. I'll try when I get a chance.

I don't believe it is impossible but I haven't tried lately, focusing instead on the Julia interface: https://github.com/JuliaSmoothOptimizers/CUTEst.jl

@nimgould Is right that only certain compilers are supported by Matlab on each platform. I'll try when I get a chance.

thank you so much. But I want to use Matlab to call cutest. If possible, How can I use the cutest to do numerical experiments?

@nimgould
Copy link
Contributor

According to

https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/system-requirements-release-2022a-supported-compilers.pdf

you will need intel oneapi 21 for fortran/c. This is freely available from

https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html

and you will need the base and HPC toolkits. Be warned, these are huge!

I don't have a Mac, so someone else needs to verify this installs. Maybe @jfowkes or @dpo?

@pangtai6
Copy link
Author

According to

https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/system-requirements-release-2022a-supported-compilers.pdf

you will need intel oneapi 21 for fortran/c. This is freely available from

https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html

and you will need the base and HPC toolkits. Be warned, these are huge!

I don't have a Mac, so someone else needs to verify this installs. Maybe @jfowkes or @dpo?

image

I executed the following command on the terminal line alone:cutest2matlab LUBRIFC.The problem indicated by the picture has occurred. Do I need to reinstall the gfortran compiler?

@pangtai6
Copy link
Author

According to

https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/system-requirements-release-2022a-supported-compilers.pdf

you will need intel oneapi 21 for fortran/c. This is freely available from

https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html

and you will need the base and HPC toolkits. Be warned, these are huge!

I don't have a Mac, so someone else needs to verify this installs. Maybe @jfowkes or @dpo?

The gfortran you provided cannot be downloaded. It has been installed on my computer. Do I have to install the version you linked?

@pangtai6
Copy link
Author

May I ask if I have successfully installed PYCUTET, can MATLAB be used now? Thank you very much for your help.

@jfowkes
Copy link
Contributor

jfowkes commented Nov 28, 2022

@pangtai6 this is where things get complicated, you still need to persuade MATLAB to recognise gcc/gfortran and this isn't officially supported but can be made to work. @dpo do you have the relevant xml that makes MATLAB's mex work with GCC on macOS? I recall this worked for me in the past and presumably may still do with the latest MATLAB.

@dpo
Copy link
Contributor

dpo commented Nov 28, 2022

This is for clang: https://github.com/ralna/CUTEst/blob/master/doc/matlab-osx/clang_maci64.xml. It's a bit dated but might still work. I haven't used Matlab in years.

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

4 participants