<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alin <br>
<br>
hmmmm. Interesting. I can't test it as I write because the machine is
down for service, but I'll look later. my Hello world test which was
basically identical fails with the usual rubbish about couldn't compile
a simple test application etc etc...with a bunch of command line params
that pgf didn't understand. After trying to compile on the command line
I got the trouble with underscores.<br>
<br>
I'll report back.<br>
<br>
JB<br>
<br>
<blockquote cite="mid:200710091234.22968.alin.elena@qub.ac.uk"
 type="cite">
  <pre wrap="">Hi John,

Can you be more specific.

I have tested a hello world Fortran project with pgf90 and cmake and seems to 
work.

I just set the FC variable to pgf90

Can you be more specific?

Alin

here is the  CMakeLists.txt

Project(hello Fortran)

###source files
set(src_dir Source)
###bin files
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)


add_executable(hello ${src_dir}/hello.f90 )



  </pre>
  <blockquote type="cite">
    <pre wrap="">Message: 4
Date: Tue, 09 Oct 2007 09:10:38 +0200
From: John Biddiscombe <a class="moz-txt-link-rfc2396E" href="mailto:biddisco@cscs.ch">&lt;biddisco@cscs.ch&gt;</a>
Subject: [CMake] Fortran : Portland Group pgf90
To: <a class="moz-txt-link-abbreviated" href="mailto:cmake@cmake.org">cmake@cmake.org</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:470B296E.30900@cscs.ch">&lt;470B296E.30900@cscs.ch&gt;</a>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I'm having trouble getting results with pgf90 and cmake...I did a bit of
searching but didn't find any references to cmake with the portland
group compiler

If anyone has any tips or can point me to any docs, then I'd be most
grateful.

Thanks

JB
    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="78">-- 
John Biddiscombe,                            <a class="moz-txt-link-freetext" href="email:biddisco">email:biddisco</a> @ cscs.ch
<a class="moz-txt-link-freetext" href="http://www.cscs.ch/about/BJohn.php">http://www.cscs.ch/about/BJohn.php</a>
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82</pre>
</body>
</html>