RE: Fortran Compiler Error CMBFAST

2006-06-27 Thread Williams, Gerald S \(Jerry\)
Billinghurst, David (CALCRTS) wrote: This is not really a cygwin problem. I guess you didn't see my post--if the compiler should be able to find an include file in the same directory as the source file (and/or the current directory, since they are the same in this case), then it is a cygwin

RE: Fortran Compiler Error CMBFAST

2006-06-27 Thread Dave Korn
On 27 June 2006 14:41, Williams, Gerald S (Jerry) wrote: Billinghurst, David (CALCRTS) wrote: This is not really a cygwin problem. I guess you didn't see my post--if the compiler should be able to find an include file in the same directory as the source file (and/or the current directory,

Re: Fortran Compiler Error CMBFAST

2006-06-27 Thread Brad Krane
Yes I forgot to mention that the include file that the compiler could not find was in the working directory. Adding a -I./ to the flags has seemed to solve this. On 6/26/06, Williams, Gerald S (Jerry) [EMAIL PROTECTED] wrote: Brad Krane wrote: I'm trying to compile the scientific package

RE: Fortran Compiler Error CMBFAST

2006-06-27 Thread Williams, Gerald S \(Jerry\)
Dave Korn wrote: We *need* to see the actual command line. That was in the original post (sorry, I should have made sure it was included in the text when I CC'ed you...): f77 -O2 -c -o jlgen.o jlgen.F The command was being executed from the same directory as jlgen.F, which also contains

RE: Fortran Compiler Error CMBFAST

2006-06-27 Thread Igor Peshansky
On Tue, 27 Jun 2006, Williams, Gerald S (Jerry) wrote: I just recreated the problem with some minimal code, and got some more information in the process: Create a file foo.for that contains one line: include 'foo.inc' Create an empty file named foo.inc in the same directory.

Re: Fortran Compiler Error CMBFAST

2006-06-26 Thread Tim Prince
Brad Krane wrote: I'm trying to compile the scientific package CMBFAST-4.5.1 in the cygwin environment using g77. I get the following error and I have no idea how to fix this having never used Fortran before. This should work without any problem as many other people have compiled this and never

RE: Fortran Compiler Error CMBFAST

2006-06-26 Thread Williams, Gerald S \(Jerry\)
Brad Krane wrote: I'm trying to compile the scientific package CMBFAST-4.5.1 in the cygwin environment using g77. I get the following error... f77 -O2 -c -o jlgen.o jlgen.F jlgen.F: In program `jlgen': jlgen.F:14: include 'cmbfast.inc' ^ Unable to open INCLUDE file

RE: Fortran Compiler Error CMBFAST

2006-06-26 Thread Billinghurst, David \(CALCRTS\)
From: Brad Krane I'm trying to compile the scientific package CMBFAST-4.5.1 in the cygwin environment using g77. I get the following error and I have no idea how to fix this having never used Fortran before. This should work without any problem as many other people have compiled this and