-
Notifications
You must be signed in to change notification settings - Fork 73
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
Build error: PETSC_DIR Makefile related #2
Comments
Hi Josef, you need to export PETSC_DIR and PETSC_ARCH before running configure, as described in the INSTALL file. |
hi, |
The new PETSc3.0.1 release unfortunately defined a macro named TSType, causing a name collision. |
ok. This worked, however, another error showed up ... simulation_system.cc:805: error: no matching function for call to ‘allgather(std::map<unsigned int, double, std::less, std::allocator<std::pair<const unsigned int, double> > >&)’ maybe this is related to the HAVE_MPI ifdef in include/utils/parallel.h ? If all of those errors are obsolete, as you are planning to release a new version soon, please let me know. |
any update on this. |
hi,
I tried to build genius, however I did not succeed.
The configure part seems fine, but as the makefile starts building:
--------- Done Configuring GENIUS -----------
make: *** /: Is a directory. Stop.
investigating the makefile, pointed in the right direction:
line 3 in make.defs: include $(PETSC_DIR)/
is responsible for this error, however, I did not dig deeper.
I'd suggest that the configure part of genius provides the same facility to
point to the petsc installation as for example it does for cgnslib.
something like: --pets-inc: --pets-lib: .. or -pets-dir: /export/weinbub
This way, the whole problem should vanish.
my build steps were:
aclocal
autoheader
autoconf
./configure --with-cgns=$HOME/libraries/cgnslib_2.5/FINAL
make -j4
my build environment:
funtoo 64-bit linux
gcc 4.4.3
amd phenom II x4
8gb ram
If you are willing to provide me with patched versions, I will gladly test them for you on my machine.
Thank you,
Josef
The text was updated successfully, but these errors were encountered: