The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> AMS Simulators >> error in "making" scientific software:portability
https://designers-guide.org/forum/YaBB.pl?num=1164584323

Message started by jaind on Nov 26th, 2006, 3:38pm

Title: error in "making" scientific software:portability
Post by jaind on Nov 26th, 2006, 3:38pm

hello,

I am trying to install a scientific software written(by ken kundert) in 1988-1990 on my laptop running Ubuntu 6.10. I have gcc-2.95 and g++-2.95.
The name of the package is "sparse"(if it helps -- it solves a sparse liner system of equations).

However, when i do a "make" inside the software's directory(which is what the instructions tell) i get the following error:

gcc -c -Dnotdef\
spallocate.c -o spallocate.o
gcc: No input files
make: *** [spallocate.o] Error 1

However, I am able to sucessfully "make" the package on an old solaris machine which we have in our department. i dont think its a gcc issue.

So its probably a portability issue. I might need to install some additional softwares but am lost on this!! Can anyone suggest something??

All my thesis work is stuck on this.

Title: Re: error in "making" scientific software:portabil
Post by Geoffrey_Coram on Nov 27th, 2006, 5:20am

Have you tried typing the gcc command instead of make?

% gcc -c -Dnotdef spallocate.c -o spallocate.o

Note I've taken out the backslash and newline.  Perhaps the backslash is grabbed as part of the -D, and then gcc doesn't understand it as a line continuation character.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.