I’ll qualify this post by saying that (1) I have given up on Ubuntu 11.x and 12.x because they are consistently unstable on my hardware (so, if you have issues running this installation on those versions, I may not be of much help (although I suspect things should work)), (2) I am starting this install from a fresh 32-bit Desktop Ubuntu 10.04 install (so do not know if there are any issues with other software one might have installed on a Linux box if a problem comes up), and (3) the procedure comes out of the current lack of an Ubuntu binary currently listed as available (as of 6 April 2013) from the LAMMPS website (lammps.sandia.gov/download.html#ubuntu). If (3) changes and is available in an MPI form, what’s below will hopefully be unnecessary.
Building Trouble And Solutions
My initial “just unzip, untar, and make linux” attempt on a fresh 10.04 install produced the following error (which I’m reproducing in the expectation that you found this page by typing one of the errors below into a search engine, so you’ll find the error and the solutions). NOTE: I build all my programs in /opt for organizational purposes (so replace accordingly):
Continue reading “Compiling LAMMPS (3Apr13, But Likely Others) In Ubuntu 10.04 Part 1. Using MPICH2 And FFTW2 (And Ubuntu Notes On Installing Intel Fortran And C++ Composers XE for Linux)”
Minus a few glitches easily fixed with the right software, this build wasn’t bad at all (and thanks to Adam Lindsay for the title catch).
Now sitting in front of a new Core i7 MacBook Pro, one of the first compilations I wanted to have finished for new projects was GROMACS 4.5.5. As my procedure for compiling GROMACS 3.3.3 had been a highly-traveled page, I wanted to provide a brief summary of my successful 4.5.5 compilation.
A Few Piece Of Info
This used to be disc-download and install, now it’s available as a free download from the App Store (1.57 GB download, so plan to do something else while you wait for the download).
Continue reading “GROMACS 4.5.5, OpenMPI 1.6, And FFTW 3.3.2 Compilation Under Mountain Lion (OSX 10.8) With XCode (And A Little Help From Homebrew)”
And happy new year.
I had thought this was something involving Gaussian09 memory usage until I restarted a machine and found the same problem occurring in Ubuntu. Below is a quick fix (and reminder for the future).
Checking disk space with df -all :
user@machine:~$ df -all
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 147550696 5863896 134191632 5% /
proc 0 0 0 - /proc
none 0 0 0 - /sys
none 0 0 0 - /sys/fs/fuse/connections
none 0 0 0 - /sys/kernel/debug
none 0 0 0 - /sys/kernel/security
none 3053752 260 3053492 1% /dev
none 0 0 0 - /dev/pts
none 3058264 0 3058264 0% /dev/shm
none 3058264 84 3058180 1% /var/run
none 3058264 0 3058264 0% /var/lock
none 3058264 0 3058264 0% /lib/init/rw
none 0 0 0 - /var/lib/ureadahead/debugfs
nfsd 0 0 0 - /proc/fs/nfsd
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
Continue reading “/var/lib/ureadahead/debugfs And Disk Space “Recovery” In Ubuntu 10.04″
Update 19 May 2009 – This tutorial (and all subsequent modifications) are now on a separate page on this website and will not be modified further in this post. This page is available HERE. The forever-name PDF version of the tutorial is available here: crystal06_mpich_ubuntu_cluster.pdf
Pre-19 May 2009 – This document, the end of a very long and involved process, is available as a PDF download (for reading and printing ease) here: crystal06_mpich_ubuntu_cluster_V1.pdf
According the Crystal06 manual:
The CRYSTAL package performs ab initio calculations of the ground state energy, energy gradient, electronic wave function and properties of periodic systems. Hartree-Fock or Kohn-Sham Hamiltonians (that adopt an Exchange- Correlation potential following the postulates of Density-Functional theory) can be used. Systems periodic in 0 (molecules, 0D), 1 (polymers, 1D), 2 (slabs, 2D), and 3 dimensions (crystals, 3D) are treated on an equal footing. In each case the fundamental approximation made is the expansion of the single particle wave functions (‘Crystalline Orbital’, CO) as a linear combination of Bloch functions (BF) defined in terms of local functions (hereafter indicated as ‘Atomic Orbitals’, AOs).
Continue reading “Crystal06 (v.1.0.2) And MPICH-1.2.7p1 In Ubuntu Desktop 8.10 (and 9.04, 64- and 32-bit) Using The Intel Fortran Compiler, Version 1.0”
Here’s a possible situation leading to your stumbling on this post. You’ve installed and updated Ubuntu on a machine (or 11) in a room with its one IP address already dedicated to another machine (and the building sys admin doesn’t take kindly to you sitting on a dozen or more dedicated IP addresses), you didn’t set up any NAT to feed the connection of one dedicated machine to the rest of the machines in the room, you don’t want to switch cables around because you’ve already zip-tied everything down with a Vulcan death grip and don’t want to start cutting because you can’t find free CAT6, and you don’t feel like opening /etc/network/interfaces a dozen times to reset the IP addresses and gateways on 11 machines to install one #&$@*ing piece of software you forgot on your initial install + upgrade (or, as was my case, I didn’t know that one piece of software WASN’T installed as part of the standard package).
You are in luck, with the dirty work made much, much easier if you already have an Ubuntu box online.
Installing packages in Ubuntu while offline involves (1) determining which programs and assorted libraries are required for what you want to install, (2) collecting all of the necessary install files from either the intertubes or an online Ubuntu box you can apt-get with (what I will assume here) and (3) using the Debian dpkg program instead of apt-get (which, to the best of my knowledge, is basically the same difference) to perform the installation on the offline box. If you’ve an online Ubuntu box, then step (1) involves installing the program you want to install on the other computers so that all of the necessary install files are downloaded, sitting locally, and ready for flashdrive (or LAN) transfer (and I assume you’re running either all 32- or all 64-bit on the machines, such that the offline machine is the same as the online machine).
Continue reading “Two Degrees Of Installation – How To Offline Apt-Get In Ubuntu (and Debian-Related)”
This post is an update to my previous post on building Abinit with OpenMPI in Ubuntu, with this post providing a workaround (solution?) to a run-benign but ultimately thoroughly aggravating issue with starting calculations in the abinip parallel build.
The description of the procedure, and the problem in the OpenMPI 1.3.x build, is as taken from the previous page (repeated so that the error makes its way and embeds itself a little deeper into the search engines).
To run parallel Abinit on a multi-processor box (that is, SMP. The actual multi-node cluster setup is in progress), the command is SUPPOSED to be follows:
mpirun -np N /opt/etsf/abinit/5.6/bin/abinip < input.file >& output
Where N is the number of processors. For mpirun, you need to specify the full path to the executable (which, for the build above, is as Abinit installs abinip when the build occurs in the /opt directory). The input.file specification is as per the Abinit users manual so I won’t go into it here. You will also be asked to supply your password because I’ve done nothing to the setup of ssh (you are, in effect, logging into your machine to run the MPI calculation).
Continue reading “Building Parallel Abinit 5.6.x With OpenMPI 1.2.x (And NOT OpenMPI 1.3.x) From Sources In Ubuntu 8.x – iofn1.F90 Problem Solved”
After considerable trial and building/testing errors, what follows is as simplified a complete installation and (non-X11/QM) testing of Amber10 and OpenMPI 1.3 as I think can be procedure’d in Ubuntu 8.10 (and likely previous and subsequent Ubuntu versions), dealing specifically with assorted issues with root permissions and variable definitions as per the standard procedure for Amber10 installation.
I’ll begin with the short procedure and bare minimum notes, then will address a multitude of specific problems that may (did) arise during all of the build procedures. The purpose for listing everything, it is hoped, is to make these errors appear in google during searches so that, when you come/came across the errors, your search will have provided some amount of useful feedback (and, for a few of the problems I had with previous builds of other programs, this blog is the ONLY thing that comes up in google).
Continue reading “Amber And Ubuntu Part 2. Amber10 (Parallel Execution) Installation In Ubuntu 8.10 (Intrepid Ibex) With OpenMPI 1.3… And Commentary”
NOTE 25 March 2009: The problem with Open-MPI and Abinit is related to the version of Open-MPI. 1.3.x is used below, while 1.2.x allows you to use the .files for running batch-based Abinit calculations. See www.somewhereville.com/?p=590 for additional notes.
The purpose of the HPLIP fix reported in a previous post was to install Abinit in Ubuntu via apt-get in order to employ the procedure used by Hooper et al in Chemical Physics Letters to calculate infrared intensities in the low-frequency region for solid-state terahertz (THz) assignments (phew!). The problem is that the apt-get install of Abinit is an older and serial (non-parallel) version. Further compounding the problem, the OpenMPI version one can install via apt-get (sudo apt-get install openmpi-bin) does not have F90 (Fortran 90) support, so one cannot simply install OpenMPI, install one of the pre-compiled versions of Abinit, and start using those other processors either on the board or plugged into a gigabit switch.
Continue reading “Building Abinit 5.6.5 (And Other Versions) And OpenMPI 1.3 (And Others) From Sources In Ubuntu 8.10 (Intrepid Ibex)”
Posted here is a procedure for building a serial execution (not parallel, that is en route as part of an upcoming post) version of Amber10 under Ubuntu 8.10 (Server or Desktop, makes no difference)…
[15 March 2009: In case you miss it while searching, the MPI build of Amber is provided in a future link. Check out www.somewhereville.com/?p=437 for installation and commentary.]
Ubuntu continues to be a pleasantly stable and very, very clean Linux distribution (although my last Ubuntu post about a minor glitch was only a few weeks ago). That said, for the typical research user perhaps not used to dealing with either Linux distributions or code compilation, it may appear to be a little too clean. In my previous learning endeavors with Fedora and OpenSuse, I often found myself installing the entire DVD for fear of missing an important library or some random program (almost entirely unnecessary after you learn your way around a distribution, but when your hard drives break the 200 GB point, what’s a waste of 5 GB when you don’t have to dig up the DVD again?). With the standard Ubuntu installation and an internet connection, your only problem becomes determining which programs and libraries are needed to complete a compilation from source.
Continue reading “Amber And Ubuntu Part 1. Amber10 (Serial Execution) Installation In Ubuntu 8.10 (Intrepid Ibex)”
…and Happy New Year.
A quick remedy to an annoyance that may or may not appear on its own. I have, for the most part, thoroughly enjoyed using Ubuntu for one of the computer clusters (and am pleased at how well I’m getting along without a desktop environment). In recent efforts to install abinit with apt-get (as a refresher to begin to attempt a reproduction of the phenomenal density functional perturbation theory calculations performed by Hooper et al in Chemical Physics Letters), I came across the following error that applied generally to various other attempts at other installs by apt-get.
name@machine:~$> sudo apt-get install program
dpkg: syntax error: unknown user `hplip' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
hplip being the HP Linux Imaging and Printing software (and associated drivers).
Continue reading ““HPLIP In Statoverride” Fix For Ubuntu (And Related)”