mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-11 22:49:56 +08:00
Compare commits
1 Commits
93dc607cb5
...
vasp-debug
| Author | SHA1 | Date | |
|---|---|---|---|
| 12dbeb8de4 |
@@ -37,6 +37,9 @@ let vasp = stdenv.mkDerivation
|
||||
|
||||
# tell openmpi use ifx
|
||||
OMPI_F90 = "ifx";
|
||||
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
};
|
||||
in writeShellScriptBin "vasp-intel"
|
||||
''
|
||||
|
||||
@@ -19,7 +19,8 @@ FREE = -free -names lowercase
|
||||
|
||||
FFLAGS = -assume byterecl -w
|
||||
|
||||
OFLAG = -O2
|
||||
# OFLAG = -O2
|
||||
OFLAG = -g
|
||||
OFLAG_IN = $(OFLAG)
|
||||
DEBUG = -O0
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ let vasp = stdenv.mkDerivation
|
||||
MKLROOT = mkl;
|
||||
QD = "${stdenv.cc.cc}/Linux_x86_64/${stdenv.cc.cc.version}/compilers/extras/qd";
|
||||
};
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
};
|
||||
in writeShellScriptBin "vasp-nvidia"
|
||||
''
|
||||
|
||||
@@ -24,7 +24,8 @@ FREE = -Mfree
|
||||
|
||||
FFLAGS = -Mbackslash -Mlarge_arrays
|
||||
|
||||
OFLAG = -fast
|
||||
# OFLAG = -fast
|
||||
OFLAG = -g
|
||||
|
||||
DEBUG = -Mfree -O0 -traceback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user