Yo—3: Ubuntu 14.04.1 LTS is here (and working)

It’s way too late in the night (about 3:45 AM), but I have finally managed to get the ‘net once again working on Ubuntu 14.04.1 LTS. In fact, am writing this post from the new version.

I was using 12.04 LTS, and so have upgraded to the 14.04 LTS version (rather than installing it completely afresh). The installation thus involved a “live” replacement, but still, it went through quite smoothly.  Of course, in my case, it took a great deal of time (almost 5 hours, including time taken due to many and slow downloads, removal of earlier kernels, etc.). But, the OS began working fine right from the very first boot-up. OpenFOAM (working on 12.04 LTS) is gone, though; I will have to reinstall it. (The upgradation process, for very good/easily understandable reasons, locks out the updating or re-installation of the third-party software.)

If you are from India and use the Idea Net Setter 3G, note, there seem to be problems. The Network Manager doesn’t “get” the (Huawei Technologies’) card. There are some workarounds to be found on the ‘net, but when I checked them out today (using Windows on the other boot partition), all of them were for the prior versions (12.04 etc.). This [^] step is too preliminary to help. Others  involved first downloading some more software! [^]. Or, some heavy duty hard-coding [^].

I did try some of that, initially.

However, to my utter surprise, I soon found that the easiest way to get the card working also happens to be the simplest/most straight-forward one: Just run the installation program for Linux that comes on the card!

Here’s how.

(i) Plug in the Net Setter card, and let Ubuntu 14.04 detect it as an ordinary USB drive. (ii) Copy-paste all the files from the card to a folder on the HDD (say, in “~/Documents/Idea”) . (iii) Open the HDD folder in the file manager, and change the permissions of the “install_linux” file so that “Others” also can execute it. (If you like using terminal, you would already know about chmod.) Incidentally, this is the step that must have thrown a lot of people off, because simply using “sudo” doesn’t help here: the files on the data card are just read-only, without +x permissions. … Now, it’s all straightforward. (iv) Open a terminal (Ctrl+Alt+T) and cd to the Idea folder just created, and type “sudo ./install_linux.” Respond to the messages in the X terminal it spawns (e.g., accept the default location of the program, and ignore the many error messages it happens to report!). That’s it!

So, that’s how I got to write this blog post.  … Wanted to keep it short and sweet, but then, thought of passing on this tip about the Net Setter card.

… Hmmm… Despite the calculus of variations and all that, sometimes, the shortest route really happens to be the straight line! … Also reminds me of this one. Prof. Andrew Tanenbaum (of Vrije) had this piece of advice, in one of his books (guess it was the one on Minix): If the student had difficulty getting the software to compile or run or so, the advice he noted was: “Do the unthinkable and refer to the manual!”

… Hey, sometimes it really works that way!

Update on 2014.08.25

TBD: Add the “Song I Like section” later on. (First, tomorrow, I have to get OpenFOAM working under 14.04 LTS. If necessary, by compiling the sources! So, there… GN.)

Yes, OpenFOAM compilation (finally) seems to have been successful, though without using CUDA for ParaView.

I followed the excellent instructions here[^], and then, here [^]. The second link is necessary because Ubuntu 14.04 LTS ships with the latest gcc (4.8.2) whereas  CUDA doesn’t support gcc 4.7 and up. The workaround involves keeping CUDA out from the ParaView graphics. That’s OK by me. … It’s not as if I am using GPGPU here. And, the Intel integrated graphics isn’t at all bad for my low-to-moderate post-processing requirements.

BTW, this OpenFOAM compilation required about 6 hours of direct compilation time in all, on my system (Dell XPS L502X Intel iCore 7 Quad). So, do expect to “waste” one whole day just for compiling OpenFOAM. … Guess you could reduce quite some time simply by compiling in the parallel mode—something that I didn’t realize I could have tried.

My next step: Try to compile and debug OpenFOAM under Eclipse-CDT… TBD.

Anyway, for the time being, at least the icoFoam has already begun working on my machine, this way. Not bad!

* * * * *   * * * * *   * * * * *

A Song I Like:
(Marathi) “chaand bharali raat aahe”
Music: Shrinivas Khale
Singer: Aashaalataa Vabgaonkar
Lyrics: “Kusumaagraj” V. V. Shirwadkar




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.