bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make error


From: Carolina Carneiro
Subject: Re: make error
Date: Thu, 6 Oct 2011 08:37:09 -0300

Thanks everybody for help!!
I'm starting to use linux and I'm really lost!

Tim, you were right!! Thank you very much!!

Carolina.

2011/10/6 Tim Murphy <address@hidden>
@psmith - happens to me all the time even on good weeks. :-)


Carolina,

In the makefile this line is wrong:

F90  = /opt/intel/composer_xe_2011_sp1.6.233

It tries to set the variable F90 to the path of the Intel Fortran 90
compiler but somehow this is a directory on your computer rather than
a program.

Later on the makefile tries to use this variable to execute the compiler:

mocassin:
       $(F90) $(OPT1) -o mocassin $(source1) $(LIBS)


>From a quick look at the intel website, I get the impression that the
compiler's name is "ifort".  That means that the F90 variable should
probably have "ifort" on the end - as examples:
/opt/intel/composer_xe_2011_sp1.6.233/bin/ifort
or maybe
/opt/intel/composer_xe_2011_sp1.6.233/ifort

you could try finding it like this:
find /opt/intel/composer_xe_2011_sp1.6.233 -type f -iname 'ifort'


Regards,

Tim
On 5 October 2011 16:16, Paul Smith <address@hidden> wrote:
> On Wed, 2011-10-05 at 16:07 +0100, Tim Murphy wrote:
>> Your makefile is trying to execure a directory rather than a program.
>
> Hah!  I didn't even notice it was a directory.  Good catch.
>
> I'm having a really bad week.
>
>



--
You could help some brave and decent people to have access to
uncensored news by making a donation at:

http://www.thezimbabwean.co.uk/friends/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]