Skip to content

Instantly share code, notes, and snippets.

@lijikun
Created July 4, 2021 13:12
Show Gist options
  • Save lijikun/476d0f6877424dd31e46d4a9aac5864f to your computer and use it in GitHub Desktop.
Save lijikun/476d0f6877424dd31e46d4a9aac5864f to your computer and use it in GitHub Desktop.
Make Gaussian 16 Linux Work with Ryzen CPUs

Just install g16 as you normally would with any Intel CPU, and add PGI_FASTMATH_CPU=haswell at the end of $g16root/g16/bsd/g16.profile. source it as you normally would.

Tested to work with G16 Rev. A03 AVX2 version on AMD Ryzen 7 4800U, with Ubuntu 20.04 LTS.

@hrishiksh
Copy link

I have followed this video tutorial on youtube

@SingletC
Copy link

Update: I noticed some non-consistency in the result between Intel and AMD. Use with caution!

@ruixif
Copy link

ruixif commented Dec 18, 2022

@hrishiksh Do you mind sharing your cpu arch information? The flag PGI_FASTMATH_CPU=haswell is arch-dependent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment