Using PETSc: Difference between revisions

From LWP-Wiki
Jump to navigation Jump to search
(Created page with " PETSCSNIPPET=/opt/netapps/petsc/sourceme [ -r ${PETSCSNIPPET} ] && . ${PETSCSNIPPET}")
 
No edit summary
 
Line 1: Line 1:
[[Category:software-faq]]
The PETSc toolkit can be found in /opt/netapps/petsc. In order for you to use it, you can appended this to your .profile:
  PETSCSNIPPET=/opt/netapps/petsc/sourceme
  PETSCSNIPPET=/opt/netapps/petsc/sourceme
  [ -r ${PETSCSNIPPET} ] && . ${PETSCSNIPPET}
  [ -r ${PETSCSNIPPET} ] && . ${PETSCSNIPPET}
Or you can run the following command manually:
. /opt/netapps/petsc/sourceme

Latest revision as of 13:34, 15 December 2016


The PETSc toolkit can be found in /opt/netapps/petsc. In order for you to use it, you can appended this to your .profile:

PETSCSNIPPET=/opt/netapps/petsc/sourceme
[ -r ${PETSCSNIPPET} ] && . ${PETSCSNIPPET}

Or you can run the following command manually:

. /opt/netapps/petsc/sourceme