<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear Sir / Madam,<br>
</p>
<p><br>
</p>
<p>I am having some trouble setting up a (basic) Makefile to use the PETSC codes. I have attempted to follow the various manuals and online resources, however I am clearly missing something. Could you possibly help me?<br>
</p>
<p><br>
</p>
<p>The details are:<br>
</p>
<p>Compiler: F95 (Fortran)<br>
</p>
<p>PETSC Directory is: /home/t/mp826/phd/petsc/<br>
</p>
<p><br>
</p>
<p>I am then trying to run a simple "Hello world" program, entitled main.f90, that constructs a PETSC Vec datatype (but does not use it). The main.f90 file is stored in the directory: <span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">/home/t/mp826/phd/</span>test_petsc/.<br>
</p>
<p><br>
</p>
<p>Any help would be very much appreciated.<br>
</p>
<p><br>
Kind Regards,<br>
Matthew Parkinson<br>
</p>
</body>
</html>