-
Notifications
You must be signed in to change notification settings - Fork 54
Compilation FAQ
KAClough edited this page Jun 13, 2018
·
35 revisions
This is an informal collection of common compilation problems and their solutions. Please add your solutions whenever you encounter a problem so that other people do not have to reinvent the wheel.
- A lot of errors along the lines of
Vars is not a template
orqualified name not allowed
. Check whether you compile with the c++11 or c++14 standard (-std=c++11
or-std=c++14
) and that your compiler is recent enough to support the option you have chosen. - undefined reference to `dgemm_
etc. This is a very common error and usually means that blas and lapack aren't included correctly. Usually, adding
-lblasand
-llapack` to syslibflags in $CHOMBO_HOME/mk/Make.defs.local does the trick. - undefined reference to `for_write_seq_lis` etc. This has previously arisen with intel compilers and has been solved by adding
-lifcore
to the syslibflags in $CHOMBO_HOME/mk/Make.defs.local. - A guide to installing on ubuntu is here, kindly provided by Leonard Werneck.
Copyright GRChombo 2018. Contact us for further details.