Skip to content

Instantly share code, notes, and snippets.

View s-sajid-ali's full-sized avatar

Sajid Ali s-sajid-ali

View GitHub Profile
@s-sajid-ali
s-sajid-ali / gist:bbf0328c7fe1ecb3090d43fb3381f28c
Created April 15, 2023 00:35
spack-spec-openpmd-hdf5-ompi-nocrash-wc-work1
{
"spec": {
"_meta": {
"version": 3
},
"nodes": [
{
"name": "openpmd-api",
"version": "0.15.1",
"arch": {
@s-sajid-ali
s-sajid-ali / openpmd-wc-fnal-spec.json
Created April 14, 2023 20:24
spack-spec-openpmd-hdf5-crash-wc-work1
{
"spec": {
"_meta": {
"version": 3
},
"nodes": [
{
"name": "openpmd-api",
"version": "0.15.1",
"arch": {
bash-4.2$ cat /wclustre/accelsim/spack-shared-v3/setup_env_synergia-devel3-cpu-ivybridge-001.sh
#Generated by spack env activate --sh synergia-devel3-cpu-ivybridge-001 &> setup_env_synergia-devel3-cpu-ivybridge-001.sh
export SPACK_ENV=/wclustre/accelsim/spack-shared-v3/spack/var/spack/environments/synergia-devel3-cpu-ivybridge-001;
alias despacktivate='spack env deactivate';
export ACLOCAL_PATH=/wclustre/accelsim/spack-shared-v3/spack/var/spack/environments/synergia-devel3-cpu-ivybridge-001/.spack-env/view/share/aclocal;
export CMAKE_PREFIX_PATH=/wclustre/accelsim/spack-shared-v3/spack/var/spack/environments/synergia-devel3-cpu-ivybridge-001/.spack-env/view;
export CPATH=/wclustre/accelsim/spack-shared-v3/spack/var/spack/environments/synergia-devel3-cpu-ivybridge-001/.spack-env/view/include/python3.9:/wclustre/accelsim/spack-shared-v3/spack/var/spack/environments/synergia-devel3-cpu-ivybridge-001/.spack-env/view/include/eigen3;
export MANPATH=/wclustre/accelsim/spack-shared-v3/spack/var/spack/environments/sy
Propagator: turn 10/inf., time = 0.521s, macroparticles = (1024) / ()
=================================================================
==5750==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7fffefea4650 at pc 0x7fffe7b84009 bp 0x7fffffff64b0 sp 0x7fffffff64a8
READ of size 4 at 0x7fffefea4650 thread T0
#0 0x7fffe7b84008 in VecLockReadPush /wclustre/accelsim/sajid/packages/petsc/src/vec/vec/interface/rvector.c:3824
#1 0x7fffedc9b91e in PCApply /wclustre/accelsim/sajid/packages/petsc/src/ksp/pc/interface/precon.c:439
#2 0x7fffec938bbf in KSP_PCApply /wclustre/accelsim/sajid/packages/petsc/include/petsc/private/kspimpl.h:378
#3 0x7fffec93a6a5 in KSPSolve_PREONLY /wclustre/accelsim/sajid/packages/petsc/src/ksp/ksp/impls/preonly/preonly.c:21
#4 0x7fffec59829b in KSPSolve_Private /wclustre/accelsim/sajid/packages/petsc/src/ksp/ksp/interface/itfunc.c:897
#5 0x7fffec59fa88 in KSPSolve /wclustre/accelsim/sajid/packages/petsc/src/ksp/ksp/interface/itfunc.c:1069
Propagator: turn 10/inf., time = 0.507s, macroparticles = (1024) / ()
=================================================================
==24348==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7fffefea4650 at pc 0x7fffe7b84009 bp 0x7fffffff5c30 sp 0x7fffffff5c28
READ of size 4 at 0x7fffefea4650 thread T0
#0 0x7fffe7b84008 in VecLockReadPush /wclustre/accelsim/sajid/packages/petsc/src/vec/vec/interface/rvector.c:3824
#1 0x7fffedc9b91e in PCApply /wclustre/accelsim/sajid/packages/petsc/src/ksp/pc/interface/precon.c:439
#2 0x7fffec938bbf in KSP_PCApply /wclustre/accelsim/sajid/packages/petsc/include/petsc/private/kspimpl.h:378
#3 0x7fffec93a6a5 in KSPSolve_PREONLY /wclustre/accelsim/sajid/packages/petsc/src/ksp/ksp/impls/preonly/preonly.c:21
#4 0x7fffec59829b in KSPSolve_Private /wclustre/accelsim/sajid/packages/petsc/src/ksp/ksp/interface/itfunc.c:897
#5 0x7fffec59fa88 in KSPSolve /wclustre/accelsim/sajid/packages/petsc/src/ksp/ksp/interface/itfunc.c:1069
@s-sajid-ali
s-sajid-ali / icaruswf-theta-2-MPI-ranks-per-node
Created December 22, 2022 17:07
submit script for icarus workflow on alcf theta that results in a crash
#!/bin/bash
#COBALT -A HEP_on_HPC
#COBALT -n 4
#COBALT -t 01:00:00
#COBALT --mode script
export NUM_DAEMON_NODES=1
export NUM_DAEMON_TOTAL_RANKS=$(($NUM_DAEMON_NODES*16))
export NUM_DAEMON_HYPERTHREADS=1
HDF5_DIR=$(brew --prefix hdf5) python3 -m pip install git+https://github.com/h5py/h5py.git@master
Collecting git+https://github.com/h5py/h5py.git@master
Cloning https://github.com/h5py/h5py.git (to revision master) to /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-req-build-bk1szwa7
Running command git clone --filter=blob:none --quiet https://github.com/h5py/h5py.git /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-req-build-bk1szwa7
Resolved https://github.com/h5py/h5py.git to commit a5413b2a0577a0f1af6e0ec2908fce972decba06
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started