Octave Running on a CentOS Server
Borrowed from zdnet.com.

So, I convinced some of my excellent colleagues in IT to give me a virtual Linux server on one of their Blade servers. Several months ago, I had downloaded the CentOS 5.5 .isos and had dropped them onto a specific server via the network.

 

Octave Running on a CentOS Server

Sometime in August, I was given that server! (Thank you, you know who you are!) This is an x86_64 Linux install with about 4 GB of RAM. I get one core on an E5530 cpu at 2.4GHz. While it’s not cloud computing, it’s better than asking my laptop to run code endlessly.

I had a piece of resource-intensive code that needed to be ran for quite some time. My colleague and I further decided that the best course of action was to test this MATLAB-specific code under the Octave environment. On my laptop, this code ran for 60+ hours and due to a lid switch error the machine actually ran out of battery and lost the entire process! Needless to say, I am thrilled to have this virtual server at my beckon call.

This same piece of code relies upon a piece of Perl code to generate tree graphs. One significant problem was that this piece of code relied upon the Math::Random Perl module. I could install this through CPAN for (what seemed like) ages! Finally, I saw this one error (through the millions of others) and Googled it:

/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory

Solution

I found this Bugzilla report

https://bugzilla.redhat.com/show_bug.cgi?id=446705

and it directed me to install the glibc-devel for x86_64 OSs. Once I did this, I was able to install Terms::ReadKey and Math::Random in the Perl command window. Everything works like a champ now.

Octave Running on a CentOS Server
Tagged on:                     

What do you think? Leave your comments!

%d bloggers like this: