Difference between revisions of "Applications/Ngspice"

From HPC
Jump to: navigation , search
(Created page with " == Application Details == * Description : Ngspice is a mixed-level/mixed-signal circuit simulator. Its code is based on three open source software packages: Spice3f5, Cider1...")
 
Line 16: Line 16:
 
#!/bin/bash
 
#!/bin/bash
  
#SBATCH -J TM-40
+
#SBATCH -J ngspice-example
 
#SBATCH -N 1
 
#SBATCH -N 1
 
#SBATCH --ntasks-per-node=1
 
#SBATCH --ntasks-per-node=1

Revision as of 12:01, 17 March 2017

Application Details

  • Description : Ngspice is a mixed-level/mixed-signal circuit simulator. Its code is based on three open source software packages: Spice3f5, Cider1b1 and Xspice. It is the open source successor of these venerable packages. Many, many modifications, bug fixes and improvements have been added to the code, yielding a stable and reliable simulator.
  • Versions : 26
  • Module names : ngspice/26
  • License: GNU


Usage Examples

Batch Submission


#!/bin/bash

#SBATCH -J ngspice-example
#SBATCH -N 1
#SBATCH --ntasks-per-node=1

#SBATCH -o test.out
#SBATCH -e test.err
#SBATCH -p gpu
#SBATCH --exclusive
#SBATCH --time=2-00:00:00

echo $SLURM_NTASKS
echo $SLURM_JOB_NODELIST
echo $SLURM_HOSTS

module purge
module add ngspice/26

export I_MPI_DEBUG=5
export I_MPI_FABRICS=shm:tmi
export I_MPI_FALLBACK=no

ngspice_c -s -c input.net


[username@login01 ~]$ sbatch ngspice.job
Submitted batch job 327522

Further information