INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Anybody successfully compiles SPOOLES on Ubuntu?

Anybody successfully compiles SPOOLES on Ubuntu?

(OP)
I want to compile SPOOLES on Ubuntu to take advantage of multiple processors. Not quite sure what questions to ask about this. I did edit some things in Make.inc as appropriate. Still won't compile.

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org

"Node news is good news."

RE: Anybody successfully compiles SPOOLES on Ubuntu?

kellnerp,

   What is SPOOLES, anyway?  My quick Google search turned up all sorts of stuff about printer spools and spool files.

   What sort of error messages are you getting?

               JHG

RE: Anybody successfully compiles SPOOLES on Ubuntu?

Its a solver used by CalculiX and others.


www.Roshaz.com

RE: Anybody successfully compiles SPOOLES on Ubuntu?

(OP)
SPOOLES is a solver package from Sandia. I think it had it's roots with AT&T way back. My compiling skills are a little rusty especially when it comes to dealing with complex makefiles. I'll try and post the error messages. I'm not in front of that box right now.  

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org

"Node news is good news."

RE: Anybody successfully compiles SPOOLES on Ubuntu?

You might want to look at the CAELinux 2009 Live DVD, which is compiled on Ubuntu and includes Calculix.



 

Mike Halloran
Pembroke Pines, FL, USA

RE: Anybody successfully compiles SPOOLES on Ubuntu?

(OP)
I'll have a look. Last time I tried to use CAELinux I had some compile probs. These guys are moving pretty fast. But I still would like to figure out what I need to do to compile SPOOLES. Some people climb mountains. Other compile open source. smile
 

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org

"Node news is good news."

RE: Anybody successfully compiles SPOOLES on Ubuntu?

I keep trying to install CAELinux to a hard drive, which works okay for a bit, then puts me into update Hell.

 

Mike Halloran
Pembroke Pines, FL, USA

RE: Anybody successfully compiles SPOOLES on Ubuntu?

(OP)
You can turn off update hell IIRC.


CODE --> Compile Error(s)

pbk@LC4:/usr/share/SPOOLES$ sudo make
cd A2               ; make all_drivers
make[1]: Entering directory `/usr/share/SPOOLES/A2'
cd drivers ; make drivers
make[2]: Entering directory `/usr/share/SPOOLES/A2/drivers'
make[2]: *** No rule to make target `../../spooles.a', needed by `test_norms'.  Stop.
make[2]: Leaving directory `/usr/share/SPOOLES/A2/drivers'
make[1]: *** [all_drivers] Error 2
make[1]: Leaving directory `/usr/share/SPOOLES/A2'
make: *** [drivers] Error 2
pbk@LC4:/usr/share/SPOOLES$

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org

"Node news is good news."

RE: Anybody successfully compiles SPOOLES on Ubuntu?

Quote (kellnerp):

...
make[2]: Entering directory `/usr/share/SPOOLES/A2/drivers'
make[2]: *** No rule to make target `../../spooles.a', needed by `test_norms'.  Stop.

   I do not know your UNIX/Linux background.  Perhaps this all is stuff you know.

   In your directory `/usr/share/SPOOLES/A2/drivers, there is a Makefile with a target called "test_norms" that requires spooles.a.  I forget what exactly it is you call *.a files, as I am away from my Linux box, but they are executable libraries.  They are sort of like a Windows DLL.

   In the Makefile, the target looks sort of like this...

test_norms:  *****.* *********.* spooles.a ***.*
             gcc  *****.* *********.* spooles.a ***.*

   The file spooles.a either has to be in the directory somehow, or there must be a target in your Makefile that tells you how to make it.

Suggestions, from your compile root directory:

   $ find . -type f -name spooles.a -print

   The $ is your bash shell command prompt.  The above line of code will search down through your directory tree for the file spooles.a.  It might not be located where it is supposed to be.

   Open the file /usr/share/SPOOLES/A2/drivers/Makefile.  Search for references to spooles.a.  If some "make" target requires it, there must be a way to provide it.  Perhaps something got commented out.  Perhaps there is a typo somewhere.  Perhaps there is a comment that explains stuff.

   $ make clean
   $ grep -rl spooles\.a .

   This will seach down through your directory tree and list any file that contains the text string "spooles.a".  I recommend the "make clean" because you do not want to search executables and object code.  I escaped the period character with a backslash.  I am not sure, but I think you will need to do this.

   I do all my compiles in /usr/local.  I have mounted /usr/local as a partition separate from the operating system.  I can reformat and reinstall the root (main operating system) partition, and it will have no effect on stuff I compiled.  Probably, you do not want to go through with this again.smile

               JHG

RE: Anybody successfully compiles SPOOLES on Ubuntu?

(OP)
Thanks.

I found the problem. There were some files that needed modification particular to the Ubuntu release as far as file locations went.

I was trying to compile a multi-threaded version so it would utilize all four cpu cores on the motherboard.

The next challenge was ARPACK. I had to download a fortran compiler for that. It appeared to compile too.

Now I am in the process of compiling CalculiX. If I am in the right frame of mind this is enjoyable. I am sure it builds character too. smile


 

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org

"Node news is good news."

RE: Anybody successfully compiles SPOOLES on Ubuntu?

Hi,

Running into same problem

Could you please share what exactly you did to fix?

Thanks!

RE: Anybody successfully compiles SPOOLES on Ubuntu?

(OP)
After I got it to compile the test suite revealed some errors so I have to go over it again. I'll try to post what I did although a lot has to do with reading help on your C compiler, Fortran compiler and make.

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org

"Node news is good news."

RE: Anybody successfully compiles SPOOLES on Ubuntu?

You are probably asking tese questions in the Ubuntu help forum.
http://www.ubuntu.com/support

RE: Anybody successfully compiles SPOOLES on Ubuntu?

(OP)
Although I'm compiling on Karmic, I am not interested in a Ubuntu only result.  

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org

"Node news is good news."

RE: Anybody successfully compiles SPOOLES on Ubuntu?

In the end I remembered that both SPOOLES and ARPACK need to be compiled with "make lib" rather than just "make"...

This is working for me (Ubuntu 10.04 with proper dev libs installed)

RE: Anybody successfully compiles SPOOLES on Ubuntu?

(OP)
Which dev libs do you have installed?
 

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org

"Node news is good news."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close