[petsc-users] Makefile problems: environmental variables, includes paths and libraries.
Matthew Agius
matthew.agius at um.edu.mt
Tue Oct 15 11:36:24 CDT 2019
Dear PETSC users,
This is my first attempt at PETSC package.
First step, I think I have installed PETSC, well at least no errors.
Now I am trying to run a simple makefile as suggested in the manual
I am confused about undeclared variables in the example makefiles that I am
coming across; variables such as:
> ${CLINKER} ${PETSC_LIB} ${PETSC_SYS_LIB} ${PETSC_VEC_LI B}
> ${PETSC_MAT_LIB} ${PETSC_DM_LIB} ${PETSC_KSP_LIB} ${PETSC_SNES_LIB}
> or ${PETSC_TS_LIB}.
Are these environmental variables?
So far I only have PETSC_DIR declared in my environment.
Do I have to declare each one? What are they?
The error I am actually getting is
> error #6404: This name does not have a type, and must have an explicit
> type. [PETSC_NULL_CHARACTER]
This is probably due to a missing Include library file in the compilation.
Any hint which one it is?
SIncre thanks,
Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20191015/ec37661c/attachment.html>
More information about the petsc-users
mailing list