This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# instructions at https://go.dev/wiki/Ubuntu | |
sudo add-apt-repository ppa:longsleep/golang-backports | |
sudo apt update | |
sudo apt install golang-go | |
go version | |
go version go1.22.4 linux/amd64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: argoproj.io/v1alpha1 | |
kind: EventBus | |
metadata: | |
name: default | |
spec: | |
nats: | |
native: | |
replicas: 3 | |
auth: token | |
containerTemplate: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: argoproj.io/v1alpha1 | |
kind: EventSource | |
metadata: | |
name: file-upload-directory-watcher | |
labels: | |
directory: file-upload | |
spec: | |
replicas: 1 | |
template: | |
container: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#SBATCH --ntasks=3 | |
#SBATCH --tasks-per-node=1 | |
#SBTACH --cpus-per-task=1 | |
#SBATCH --mem=1024 | |
#SBATCH --job-name="arkouda mpi test" | |
#SBATCH --output=/tmp/arkouda-mpi.out | |
export CHPL_COMM=ofi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get install infiniband-diags ibverbs-utils \ | |
libibverbs-dev libfabric1 libfabric-dev libpsm2-dev -y | |
sudo apt-get install openmpi-bin openmpi-common libopenmpi-dev libgtk2.0-dev | |
sudo apt-get install librdmacm-dev libpsm2-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Instructions for installing rdma-core at https://github.com/linux-rdma/rdma-core | |
# | |
# install required libraries | |
sudo apt-get install build-essential cmake gcc libudev-dev libnl-3-dev libnl-route-3-dev \ | |
ninja-build pkg-config valgrind python3-dev cython3 python3-docutils pandoc \ | |
infiniband-diags ibverbs-utils -y | |
# clone and build rdma-core project |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scaling up Kafka utilizing the kraft consensus protocol requires removing the $KAFKA_HOME/data/__cluster_metadata-0/quorum-state as detailed in this Kafka [PR](https://github.com/strimzi/strimzi-kafka-operator/pull/8247). If the file is not removed, the following Java exception is thrown: | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 172.0 /opt/arkouda//src/MultiTypeSymEntry.chpl:217: In initializer: | |
#0 172.0 /opt/arkouda//src/MultiTypeSymEntry.chpl:223: error: cannot assign expression of type [domain(1,int(64),one)] int(64) to field 'a' of type [BlockDom(1,int(64),one,unmanaged DefaultDist)] int(64) | |
#0 172.1 /opt/arkouda//src/KExtremeMsg.chpl:52: called as SymEntry.init(a: [domain(1,int(64),one)] int(64), max_bits: int(64)) | |
#0 172.4 make: *** [Makefile:341: arkouda_server] Error 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::env; | |
use log::{info,debug}; | |
use tonic::{transport::Server, Request, Response, Status}; | |
use arkouda::arkouda_server::{Arkouda, ArkoudaServer}; | |
use arkouda::{ArkoudaReply, ArkoudaRequest}; | |
use serde::{Deserialize, Serialize}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module MemoryReporting { | |
use IO; | |
use Memory.Diagnostics; | |
proc getMemory() throws { | |
var aFile = open('/proc/meminfo', ioMode.r); | |
var lines = aFile.reader().lines(); | |
var line : string; | |
var memTotal:int; |
NewerOlder