Skip to content

Commit 3aa9492

Browse files
committed
Fix build.
1 parent 252b5ef commit 3aa9492

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

conda/.condarc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
conda-build:
22
pkg_format: 2
3+
channels:
4+
- conda-forge
5+
- nodefaults

conda/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ function cleanup {
1212

1313
trap cleanup EXIT
1414

15-
conda mambabuild "$@"
15+
conda build "$@"

conda/conda_build_config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ zip_keys:
66

77
python:
88
# part of a zip_keys: python, numpy
9-
- 3.9.* *_cpython
10-
- 3.10.* *_cpython
11-
- 3.11.* *_cpython
12-
- 3.12.* *_cpython
13-
- 3.13.* *_cpython
9+
- 3.9.*
10+
- 3.10.*
11+
- 3.11.*
12+
- 3.12.*
13+
- 3.13.*
1414

1515
numpy:
1616
# part of a zip_keys: python, numpy

conda/greatlakes.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
22

33
#SBATCH --job-name="glotzerlab-software build"
4-
#SBATCH --account=sglotzer0
4+
#SBATCH --account=sglotzer9
55
#SBATCH --partition=standard
66
#SBATCH --nodes=1
77
#SBATCH --tasks-per-node=1
88
#SBATCH --cpus-per-task=36
99
#SBATCH --mem=144g
1010
#SBATCH --time=8:00:00
11-
#SBATCH --exclude=gl3047,gl3053,gl3054,gl3056,gl3057,gl3064,gl3118,gl3120,gl3163,gl3243,gl3260,gl3270, gl[3384-3457]
11+
#SBATCH --exclude=gl3047,gl3053,gl3054,gl3056,gl3057,gl3064,gl3118,gl3120,gl3163,gl3243,gl3260,gl3270,gl[3384-3457]
1212

1313
export OUTPUT_FOLDER=/nfs/turbo/glotzer/software/conda
1414
unset CMAKE_PREFIX_PATH
@@ -17,7 +17,15 @@ unset CMAKE_PREFIX_PATH
1717
module reset
1818
module load gcc/10.3.0 openmpi/4.1.6 cuda/12.3.0
1919

20-
export TMPDIR=/tmpssd
20+
echo -n "Executing on host: " && hostname
21+
22+
if [ -d "/tmpssd" ]; then
23+
export TMPDIR=/tmpssd
24+
echo "Using /tmpsdd for build."
25+
else
26+
export TMPDIR=/tmp
27+
echo "Warning! /tmpssd does not exist. Using /tmp for build."
28+
fi
2129

2230
./build.sh "$@" \
2331
--skip-existing \

conda/mpi4py/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package:
1010
source:
1111
- fn: mpi4py-{{ version }}.tar.gz
1212
url: https://github.com/mpi4py/mpi4py/releases/download/{{ version }}/mpi4py-{{ version }}.tar.gz
13-
sha256: c8fa625e0f92b082ef955bfb52f19fa6691d29273d7d71135d295aa143dee6cb
13+
sha256: f3174b245775d556f4fddb32519a2066ef0592edc810c5b5a59238f9a0a40c89
1414

1515
build:
1616
binary_relocation: False

0 commit comments

Comments
 (0)