How to use MPI without NFS

You can use MPI without NFS or a shared file system! We had a situation where we couldn’t find the NFS server or client packages for arm64 for Ubuntu 16.04. We had OpenMPI version 1.10.2 installed on 2 nodes without NFS. When you use MPI without NFS, you need to ensure that the same version of MPI is installed by every node. Then, you have to ensure that the same data files, which include the program, hostnames file, and input files,...

More

How to Fix OpenMPI ORTE Error: unknown option “–hnp-topo-sig”

We encountered an ORTE bug with the error message, Error: unknown option “–hnp-topo-sig”, while using OpenMPI version 1.10.2 for arm64 on Ubuntu 14.04 server. More specifically, we ran the following command using 2 nodes with MPI: mpirun –hostfile /nfs/hostnames -n 4 /nfs/mpi-hello-world/mpi_hello_world

ORTE errors can happen because of a variety of different things, but it’s usually because your mpirun is not the same version as your mpi compiler. Even if you think that you only have one MPI version, you may in...

More

How to Get Multiple Terminals on Ubuntu Server

Let’s say that you want multiple terminals on an Ubuntu server. If you have ever used the Ubuntu server version of the OS, you should know that it is maneuvered only through the terminal. We had a situation where we didn’t have access to the Internet, so we couldn’t install something like tmux for multi-tasking, and we thought screen was hard to use. We needed multiple terminals, so that we could run multiple commands at the same time! If you...

More

How to Download Packages and Dependencies from Different Architectures on Ubuntu

Let’s say that I have a computer that I installed Ubuntu 14.04 x86-64 also known as amd64. I want to download a package, but I want to download the package and its dependencies from a different architecture instead of amd64. In this scenario, I want to download a package from arm64 architecture. Enable Another Architecture to Download First, we will add a new architecture to be able to select when installing or downloading any package. Instead of arm64, you can substitute...

More

How to Download Packages and Dependencies Locally on Ubuntu

I want to download a package and all of its dependencies that I would typically use apt-get to install on Ubuntu. How do I download a package and its dependencies locally on Ubuntu? I am using Ubuntu 14.04 and Ubuntu 16.04 for this tutorial. How to Download Ubuntu Packages and Dependencies Locally We require Internet access to download the packages locally. First, we should always update our package sources. sudo apt-get update Afterwards, we should make a directory to store...

More

How to SSH to Another Computer with Ethernet Cable – Local Area Network

Let’s say that we wanted to connect an Ethernet cable from Ethernet port of one computer to Ethernet port of another computer. I want to be able to SSH into the other machine from my computer given that I know the other machine’s password or have an authenticated SSH key. You can also SSH to a series of machines if you have a switch with all the other machines connected to that switch through Ethernet cables. The switch is basically a...

More

How to Set Static IP on Ubuntu

To set the static IP address on Ubuntu, we want to first determine what network interfaces we currently have. These network interfaces represent the Infiniband or Ethernet ports on your computer. You will typically have an interface called eth0 or eth1 that allows you to connect to the Internet. Note, setting the static IP will allow you to connect to the Internet as long as the IP address is valid according to your DHCP server. If you set any static IP...

More

Fixing 500 Internal Server Error for a PHP File

The 500 Internal Server Error, which you may be seeing on the web console, may occur because of a random PHP file. 500 Internal Server Error may happen because of faulty .htaccess configuration, PHP memory limit, or a slew of other random issues. I’ll show you how I normally debug and fix the 500 Internal Server Error for PHP files for most scenarios. Press F12 on Google Chrome and look at the Console tab to see if a PHP file...

More

[2016] Recommended Node.js Express MongoDB Bower Gulp Setup

Today is May 20, 2016. I’ve been messing around with Node.js and Express for the web framework, MongoDB for the database, Bower for dependencies, and Gulp for automating tasks. This post will be a guide step-by-step on how to setup Node, Express, Mongo, Bower, and Gulp as of May 2016. I am using a Windows 10 machine for the installation and setup. Commands will be slightly different for Macs and Linux users. We will be making a log in, sign...

More

Setting Up Infiniband in Centos 6.7

Installing Infiniband Drivers In Centos/RHEL, software support for Mellanox infiniband hardware is found in the package group “Infiniband Support”, which can be installed with yum: $yum -y groupinstall “Infiniband Support” This will install the required kernel modules, and the infiniband subnet manager opensm. Several optional packages are also available that make configuring and trouble shooting the network easier: $yum -y install infiniband-diags perftest gperf inifiniband-diags is a network diagnostic package containing useful analysis tools such as ibping and ibstat. perftest...

More