You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I meet the following problem when using the MATLAB interface of NOMAD. The version of MATLAB I used is R2023a, and the version of NOMAD I used is NOMAD 4. My computer system is Ubuntu 22.04.3 LTS. After following the installation instructions, when I try to run test_gerad_norm.m under /home/<me>/Documents/nomad, it shows me the error:
Make sure to have the selected gcc compiler. In my case, I need to use gcc 10.1 for Matlab 2012b but the default on my Linux is [gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44.0.3)]. When running the config I have cmake -DTEST_OPENMP=OFF -DBUILD_INTERFACE_MATLAB=ON -DBUILD_INTERFACE_PYTHON=ON -S . -B build/release -- The C compiler identification is GNU 10.1.0 -- The CXX compiler identification is GNU 10.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/x86_64-unknown-linux_ol7-gnu/gcc-10.1.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/x86_64-unknown-linux_ol7-gnu/gcc-10.1.0/bin/g++ - skipped
In my case the Nomad libraries are in $NOMAD_HOME/build/release/lib64.
Make sure that Nomad works without Matlab by running one example in $NOMAD_HOME/examples/
You can check which libraries are loaded by the Matlab-Mex binary with the command ldd build/release/lib64/nomadOpt.mexa64
Hi,
I meet the following problem when using the MATLAB interface of NOMAD. The version of MATLAB I used is R2023a, and the version of NOMAD I used is NOMAD 4. My computer system is Ubuntu 22.04.3 LTS. After following the installation instructions, when I try to run
test_gerad_norm.m
under/home/<me>/Documents/nomad
, it shows me the error:I ran the following to install NOMAD:
cmake -DTEST_OPENMP=OFF -DBUILD_INTERFACE_MATLAB=ON -DBUILD_INTERFACE_PYTHON=ON -S . -B build/release cmake --build build/release cmake --install build/release
I added the following to the MATLAB path:
The compiler I am using is GCC version 10.5.0.
Do you have any idea how to solve this issue?
Thank you in advance for your help,
Cheers,
Haitian.
The text was updated successfully, but these errors were encountered: