pyfrsoc

(★ 6)

A Python package for first-principles calculations of spin-orbit coupling (SOC) matrix elements and SOC contribution to zero-field splitting tensors

pyfrsoc Latest Version Download

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

conda activate

View Details ▼

Activate a conda environment.
See also: `conda deactivate`.

conda activate myenv

Activate an existing environment named `myenv`:

conda activate {{path/to/myenv}}

Activate an existing environment located at custom path:

conda activate --stack myenv

Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:

🔍

conda create

View Details ▼

Create new conda environments.

conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy

Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:

conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}

Create a new environment named `myenv` and install packages listed in files:

conda create {{[-p|--prefix]}} {{path/to/myenv}}

Create a new environment at a custom path (i.e. prefix):

🔍

mpirun

View Details ▼

Execute serial and parallel jobs in Open MPI.
See also: `mpic++`.

mpirun {{path/to/executable}}

Execute an Open MPI program:

mpirun -n {{n}} {{path/to/executable}}

Execute an Open MPI program with `n` parallel processes:

mpirun -oversubscribe {{path/to/executable}}

Allow more processes than available physical cores:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

🔍

srun

View Details ▼

Run a command under the Slurm workload manager.

srun hostname

Run a simple command interactively:

srun --pty /bin/bash

Submit a basic interactive job:

srun {{[-n|--ntasks]}} 4 {{path/to/program}}

Run a job with 4 tasks (CPUs):

🔍

module

View Details ▼

Modify a users' environment.

module avail

Display available modules:

module avail {{module_name}}

Search for a module by name:

module load {{module_name}}

Load a module:

# Project Badges

// repository documentation