I hereby claim:
- I am psychocoderhpc on github.
- I am psychocoder (https://keybase.io/psychocoder) on keybase.
- I have a public key ASBzDqczn01lyEUvIaQsc0fDq-TGfhPlcP1fSD16V_XYxgo
To claim this, I am signing this object:
spack install [email protected] | |
spack install [email protected] | |
spack install --reuse [email protected] %[email protected] | |
spack load [email protected] %[email protected] | |
spack install [email protected] | |
spack load [email protected] | |
echo "openpmd-api:" | |
spack install --reuse [email protected] %[email protected] \ |
#last update 05.11.2021 | |
module load craype-accel-amd-gfx908 | |
module load rocm/4.3.0 | |
module load git/2.31.1 | |
module load cmake/3.20.2 | |
module load boost/1.73.0 | |
module load c-blosc/1.21.0 | |
module load cray-python/3.8.5.1 | |
module load hdf5/1.10.7 # dependency of openpmd-api module (no other possible) |
#!/bin/bash | |
# IMPORTANT: The script is currently not checking for compile time errors | |
# | |
# issue I have: | |
# HIP - https://github.com/ROCm-Developer-Tools/HIP/blob/5f1420a229b41662f1f3f178de56daa10028d39c/CMakeLists.txt#L317-L318 | |
# both lines must be removed because cmake says `hiprtc is not defined` | |
# | |
# rocprofiler (clang issue): | |
# - /src/core/intercept_queue.h and /src/core/intercept_queue.cpp | |
# `static std::atomic dispatch_callback_;` must be `static volatile std::atomic dispatch_callback_;` |
I hereby claim:
To claim this, I am signing this object:
#include <mpi.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdio.h> | |
#define H5S_MAX_MPI_COUNT 536870911 | |
static MPI_Aint bigio_count = H5S_MAX_MPI_COUNT; | |
#define MPI_CHECK(cmd) {int error = cmd; if(error!=MPI_SUCCESS){printf("%s %i %d\n""[MPI] Error code ", error,__LINE__);}} |
#include <cuda_runtime.h> | |
#include <iostream> | |
int main() | |
{ | |
cudaDeviceProp props; | |
cudaGetDeviceProperties(&props, 0); | |
std::cout<<props.major<<props.minor<<" smxcount "<<props.multiProcessorCount<<std::endl; |
04555f73ccefe3b9b4bdde1a90a64209d41a285211dfc6ff3d889c7da75ec5bf33d3c12e00abc21e632a990ce49b8dc6b092b32a30e503197c37d02b4ec6bb3026 |
This little code snipped messure the performance for adios write/read and verify the results.
compile no transform: mpic++ -std=c++11 main.cpp -I$ADIOS_ROOT/include -L$MPI_ROOT/lib -L$ADIOS_ROOT/lib -ladios -ladiosread -L$LZ4_ROOT/lib -llz4 -lz -DADIOS_TRANSFORM=\"none\"
compile with LZ4 transform: mpic++ -std=c++11 main.cpp -I$ADIOS_ROOT/include -L$MPI_ROOT/lib -L$ADIOS_ROOT/lib -ladios -ladiosread -L$LZ4_ROOT/lib -llz4 -lz -DADIOS_TRANSFORM=\"lz4:threshold=2048,lvl=9\"
#include <iostream>
#include <chrono>
#include <vector>
Solution to solve that matplot lib not show any X window in a virtual python environment | |
follow the [embedded guid](https://github.com/ComputationalRadiationPhysics/picongpu/blob/dev/src/picongpu/submit/titan-ornl/pythonOnRhea.profile.example) | |
- cd ~/lib | |
- mkdir -p python-venv | |
- cd python-venv | |
- virtualenv hypnos2.7.10 | |
- source ~/lib/python-venv/hypnos/bin/activate | |
- which pip |