[petsc-users] how to get the input value from the input command

丁老师 ztdepyahoo at 163.com
Mon Aug 5 21:53:50 CDT 2013


i need to get the number of processor in the command line as the input of my function.for example,
mpiexec -np 4
i need the " 4" as the input number of my function. how to get it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130806/49bc70ee/attachment.html>


More information about the petsc-users mailing list