<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<font style="" color="#000000"><a name="move-shared-exec"><font style="">HI Sean,</font></a></font><BR><a name="move-shared-exec"><font style="" color="#ff0000"><font style="" color="#000000">It is really not the question of "not believing you", it is just that I do not have any formal training in programming/parallel programming and hence my misconceptions. I am simply trying to clear up my doubts by asking questions to experts. Please bear with me and accept my apology if you find any of my questions ridiculously incorrect. </font><font style="" color="#000000"><br></font></font></a><BR><a name="move-shared-exec"><font style="" color="#ff0000"><font style="" color="#000000"><br></font></font></a><BR><a name="move-shared-exec"><font style="" color="#ff0000"><font style="" color="#000000">I found the following question in FAQ section of http://www.mcs.anl.gov/petsc/petsc-2/documentation/faq.html#already-installed . I know that this is related to shared libraries, but it sounds as if "moving libraries around" may be an option. Again, I assure you that I 100% believe you. I am simply trying to understand what this question is referring to.</font><br></font></a><BR><a name="move-shared-exec"><font style="" color="#ff0000"><br></font></a><BR><a name="move-shared-exec"><font style="" color="#ff0000"><br></font></a><BR><a name="move-shared-exec"><font color="#ff0000">What
do
I
do if I want to move
my executable to a different machine?</font></a><BR>
You would also need to have access to the shared
libraries on this new machine. The other alternative is to
build the
exeutable without shared libraries by first deleting the
shared
libraries, and then creating the executable. <br><BR><br><br><div>
Thanks for all your help !<br></div><br><br><br><br><div><hr id="stopSpelling">From: sean@mcs.anl.gov<br>Date: Wed, 7 Sep 2011 19:31:29 +0000<br>To: petsc-users@mcs.anl.gov<br>Subject: Re: [petsc-users] petsc-users Digest, Vol 33, Issue 13<br><br><div class="ecxgmail_quote"><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">Sean mentioned that I will need to install PETSc on the actual cluster that I want to run my program, which, as I understand, means that I need to do ./configure make make install on that actual cluster I plan on running my code. I was originally thinking that if I do ./configure make make install on some Scientific Linux computer(with appropriate MPI), then I will get all the libraries (.a files) that I need. Then, if I have to run my program, say program.c, that calls PETSc libraries on a Scientific Linux cluster, all I need to do is carry all the libraries (and anything that my program is linked with) together with my program to the cluster and run my program there. Is this really incorrect ?</div>
</div></blockquote><div><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">That is 100% incorrect. If you don't believe me, you are welcome to try it on your own. You really have to give up on this "carry all the libraries around" idea.</div>
<div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br></div><div><font color="#888888" face="arial, sans-serif">Sean</font> </div></div></div>                                            </div></body>
</html>