5,484 questions
Advice
2
votes
2
replies
138
views
Is DDD the "Final Form" of OOP, or a necessary abstraction to save us from it?
we’ve used Object-Oriented Programming (OOP) to model the world through encapsulation, inheritance, and polymorphism. However, in large-scale enterprise systems, we often see OOP devolve into "...
1
vote
1
answer
57
views
Slurm, release / deallocate some nodes from a running job as sub-jobs / tasks within the job finish
I have a number of tasks to run. I can submit each task independently, but the queueing system on the cluster I am using prioritises large jobs so they get stuck in waiting for months.
Instead I have ...
2
votes
1
answer
57
views
SLURM_CONF environment variable is not affecting jobs started with sbatch
I am attempting to temporarily modify the weights of nodes in an HPC cluster to have more control over which nodes are used for a specific job. The slurm.conf docs say:
The file location [of slurm....
1
vote
1
answer
120
views
How to always launch a SLURM job from the same node, while running the job on multiple nodes
Due to a licensing agreement, I have a piece of software installed in our HPC that must always be launched from the same node in the system, referred to as the "head node" from now on. When ...
Advice
2
votes
7
replies
153
views
determine cpu after c++ compilation with gcc?
Does anyone know if there is, in c++, any way to determine at runtime the cpu characteristics of the machine that compiled the code? For example, in gcc (which I'm using) the preprocessor variable ...
0
votes
0
answers
28
views
Integrate socket.io namespaces with Node Cluster
I am trying to integrate socket.io with Node's HTTP alongside Node's Cluster Module. Consider the reproducible example:
index.js:
let cluster = require('cluster')
let fs = require('fs')
let http = ...
0
votes
0
answers
101
views
Snakemake slurm cluster status in version 9.6.3
I am currently using Snakemake version 9.6.3 on a cluster managed by an SLURM scheduler. In previous workflows, I relied on version 6, which supported the --cluster, --cluster-status, and --parsable ...
0
votes
0
answers
61
views
Can i set slurm job array size using another job file?
I am currently running a slurm job file on an array that I manually set the size of, e.g.
sbatch --array=1-6 myjob.array
the size of the array is determined when setting up the code to run. E.g. if I ...
0
votes
0
answers
283
views
CRC Status Shows 'OpenShift: Unreachable' Even After Multiple Restarts and Setup
I am trying to run Red Hat CodeReady Containers (CRC) with OpenShift 4.19.8 on an Ubuntu VM (running on VMware).
No matter what I do, crc status always shows:
crc status output (https://i.sstatic.net/...
0
votes
1
answer
73
views
ModuleNotFoundError in GCP after trying to sumbit a job
new to GCP, I am trying to submit a job inside Dataproc with a .py file & attached also pythonproject.zip file (it is a project) but I am getting the below error ModuleNotFoundError: No module ...
0
votes
0
answers
121
views
Check if a server is part of an Azure cluster using C# and PowerShell
I am testing some code to check if a named server is part of an Azure cluster. I currently have a simple console application where the user enters the name of the server to check and the code then ...
0
votes
1
answer
81
views
How to concurrently remove lines from a file in Python?
I have a cluster of compute nodes, each node with many CPUs. I want them to execute commands located in a file, one command per line. The drive where the command file is located is mounted on all ...
2
votes
1
answer
90
views
How to identify price regimes / trends in Pandas
I have created the following pandas dataframe, which is an example of 26 stock prices (Open, High, Low, Close):
import pandas as pd
import numpy as np
ds = {
'Date' : ['15/06/2025','16/06/2025','17/...
1
vote
0
answers
124
views
Eigen + MKL on a cluster doesn't call GEMM for large matrix multiplications
I have a c++ code that uses Eigen for linear algebra calculations. The code runs on a cluster where there is a module with Intel MKL. I am completely ignorant of how to do it but I wanted to try to ...
0
votes
0
answers
16
views
Proxmox migration and autoboot
I migrated my vm from one node to another over the cluster using the migrate function, without having a downtime. Theses vm where set to auto boot. Is this setting is kept trough the migration on a ...