[petsc-users] petsc-users Digest, Vol 33, Issue 13
Satish Balay
balay at mcs.anl.gov
Wed Sep 7 13:56:41 CDT 2011
yes - fundamentally source code is more portable. [binary is generally
not portable - even on the same OS - due to versions of OS or
dependent libraries or other issues]
Whatever machine you need to run your code on - you'll have to move
your code [and supporting library code] to that machine and build/run
there.
Sometimes you might find some libraries prebuilt on the target
machine. Compute clusters generally will have MPI prebuilt [by the
admin of the cluster] - and one should build all mpi related
packages,applcations with that recommended/installed MPI etc..
PETSc [and all externalpackages it installs] are provided to you at
the source code level - so you build and use them on each target
machine you need them on.
Satish
On Wed, 7 Sep 2011, amrit poudel wrote:
>
> I see. From all this discussion what I've understood is that if I need to run my program on say Scietific Linux cluster, then I need to build PETSc (along with MUMPS or any other external packages) on a computer with Scientific Linux OS, then I will be able to run my program in that cluster. Please correct me if I am wrong.
>
> Thanks for clearing up my confusion !
>
>
>
>
> From: sean at mcs.anl.gov
> Date: Wed, 7 Sep 2011 18:35:20 +0000
> To: petsc-users at mcs.anl.gov
> Subject: Re: [petsc-users] petsc-users Digest, Vol 33, Issue 13
>
> Okay, I will do that, but do I need to carry all MUMPS and PETSc libraries when I try to run the executables in a cluster or some other computer which will not have PETSc or MUMPS installed? I do not plan on building PETSc and MUMPS again in some computer in the national lab. I am planning on sending the executable only from my laptop to the cluster. Is this possible?
>
>
> If that is possible, then you should update the wiki page:
> http://en.wikipedia.org/wiki/Execution_(computing)
>
>
> Sean
More information about the petsc-users
mailing list