Hello,
when running code generator(NESTCodeGeneratorUtils.generate_code_for), I encounter an error:
-- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:95 (project): The CMAKE_CXX_COMPILER:
/home/conda/feedstock_root/build_artifacts/nest-simulator_1633676998878/_build_env/bin/x86_64-conda-linux-gnu-c++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
I have tried to set CXX variable to one of the compilers I have on the system, but it did not work. I don't know how to set CMAKE_CXX_COMPILER in this context. Maybe someone could give me an advice on that?
Best regards,
Hello Stefan,
While using NESTML with NEST installed from conda, the compiler path needs to be changed in the nest-config file which you can find in your NEST installation directory. You can find the detailed instructions on our docs page here: https://nestml.readthedocs.io/en/latest/installation.html#anaconda-installat...
Hope this helps!
Regards, Pooja
On 27. Jul 2023, at 10:21, Stefan Dvoretskii stefan.dvorezky@gmail.com wrote:
Hello,
when running code generator(NESTCodeGeneratorUtils.generate_code_for), I encounter an error: -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:95 (project): The CMAKE_CXX_COMPILER:
/home/conda/feedstock_root/build_artifacts/nest-simulator_1633676998878/_build_env/bin/x86_64-conda-linux-gnu-c++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
I have tried to set CXX variable to one of the compilers I have on the system, but it did not work. I don't know how to set CMAKE_CXX_COMPILER in this context. Maybe someone could give me an advice on that?
Best regards,
-- Stefan _______________________________________________ NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
Thanks for a prompt reply, Pooja! This indeed works.
On Thu, 27 Jul 2023 at 11:28, Babu, Pooja p.babu@fz-juelich.de wrote:
Hello Stefan,
While using NESTML with NEST installed from conda, the compiler path needs to be changed in the nest-config file which you can find in your NEST installation directory. You can find the detailed instructions on our docs page here: https://nestml.readthedocs.io/en/latest/installation.html#anaconda-installat...
Hope this helps!
Regards, Pooja
On 27. Jul 2023, at 10:21, Stefan Dvoretskii stefan.dvorezky@gmail.com wrote:
Hello,
when running code generator(NESTCodeGeneratorUtils.generate_code_for), I encounter an error:
-- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:95 (project): The CMAKE_CXX_COMPILER:
/home/conda/feedstock_root/build_artifacts/nest-simulator_1633676998878/_build_env/bin/x86_64-conda-linux-gnu-c++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
I have tried to set CXX variable to one of the compilers I have on the system, but it did not work. I don't know how to set CMAKE_CXX_COMPILER in this context. Maybe someone could give me an advice on that?
Best regards,
-- Stefan _______________________________________________ NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org