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

fix missing include and modules dir when building #4

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

StefanoPetrilli
Copy link
Contributor

When building I encountered the following error:

stefanopetrilli@server:~/repos/amg4psblas$ sudo make
cd amgprec && make objs
make[1]: Entering directory '/home/stefanopetrilli/repos/amg4psblas/amgprec'
mpifort -fallow-argument-mismatch -g -O3 -frecursive  -I. -I../include -I/home/stefanopetrilli/repos/psblas3/modules -I/home/stefanopetrilli/repos/psblas3/modules -I/home/stefanopetrilli/repos/psblas3/include -DHAVE_LAPACK -DHAVE_MOLD -DHAVE_EXTENDS_TYPE_OF -DHAVE_SAME_TYPE_AS -DHAVE_FLUSH_STMT -DMPI_MOD  -DHAVE_LAPACK -DHAVE_FLUSH_STMT -DLPK8 -DIPK4 -DMPI_MOD  -c amg_base_prec_type.F90 -o amg_base_prec_type.o
f951: Fatal Error: ‘../include’ is not a directory
compilation terminated.
make[1]: *** [/home/stefanopetrilli/repos/psblas3/include/Make.inc.psblas:84: amg_base_prec_type.o] Error 1
make[1]: Leaving directory '/home/stefanopetrilli/repos/amg4psblas/amgprec'
make: *** [Makefile:19: amgp] Error 2

To solve the error I changed the make all command in order to create the directories before they are needed.

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

Successfully merging this pull request may close these issues.

1 participant