Atomsk on macOS 11+

A tutorial on how to download and install Atomsk on macOS 11+

Tapashree
2 min readAug 16, 2023

Pre-requistes

  1. Install and set up Homebrew: https://brew.sh/
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. Install OpenMP for enabling parallelization:

brew install libomp 

3. Install Lapack library with homebrew:

brew install lapack

4. Install a Fortran compiler.

which gfortran # if this does not worrk then 

brew install gfortran

Downloading and compiling the Source Code

Go to the official website and download the source code.

  1. Open the src directory in your favourite terminal app. I use iTerm2 :)

2. Enter the following command and hit ENTER:

make atomsk 

3. Depending upon your processor, it may take some time. Once it’s done, to make it available system-wide, enter the following and hit Enter:

sudo make install

You will be asked your system password, enter it and done!

That’s it thanks for reading!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Tapashree
Tapashree

Responses (1)

Write a response

Thank u!