-
Notifications
You must be signed in to change notification settings - Fork 21
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
Compile template project #177
Comments
Hello Milo, the problem seems related to PETSC: the cmake project try to scan the 2 enviroment variables PETSC_DIR and PETSC_ARCH but it seems it does not find the right path to installation, thus this triggers the PETSC_EXECUTABLE_RUNS finding error (that petsc uses to check if its installation is working). I suggest you to check if those variables exists in your shell first. You should obtain something like PETSC_DIR=/home/mihabibi/Desktop/PET_INSTALL/petsc, PETSC_ARCH=arch-linux-c-debug. If nothing is set, Please export them as env variables (as the installation guide of petsc suggests) Meanwhile here you find an update version of the mimmo-project.tar.gz that solves other compiling issues. |
Hi Milo, it seems a problem of cmake copying the prism file from a path with a "(" inside. |
Everything seems ok. Try to run the executable myprogram to have the final confirmation. A bunch of *.stl file should appear as results. You can use paraview to visualize them. |
Hi Milo, let me check it the project sample is working correctly with MPI compiled mimmo, then i will revert to you. |
Hello Milo, here you find an update template project, which accounts of MPI initialize and finalize directives to run your sample program. Please, download it and repeat the compiling/testing procedure as before, and see if the problem is fixed. In case not, here a bunch of checks to understand better the problem:
Let us know. |
Hi Milo, you are actually using a MPI compiled version of the library. See into mimmo-project main.cpp, into the main method. You need to wrap your code in #if MIMMO_ENABLE_MPI That's to initialize MPI and finalize it before exiting. That's needed also if you want to use MPI directives into your code. R. |
Hi,
I have installed mimmo and all its dependencies. Also, I could create the executable files of its examples and get the result during the installation procedure but when I try to compile the recommended project for using mimmo (https://optimad.github.io/mimmo/downloads/mimmo-project.tar.gz). I get the following error:
I appreciate it if you could help me.
Thanks,
Milo
The text was updated successfully, but these errors were encountered: