Skip to content

Conversation

@Crambor
Copy link
Collaborator

@Crambor Crambor commented Mar 17, 2024

resolves #59


// Check if the hq binary exists
std::string hq_binary_path = "./hq";
if (!file_exists(hq_binary_path)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea! Could do similar checks for job.sh and alloc script as well!

std::system("hq_scripts/allocation_queue.sh");
}

bool file_exists(const std::string& path) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kind of redundant?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah true - habit, thought I would use it more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HPC: Ensure load balancer finds hq when located in same directory

3 participants