How To Install slurm-devel on CentOS 8
Introduction
In this tutorial we learn how to install slurm-devel
on CentOS 8.
What is slurm-devel
Development package for Slurm. This package includes the header files and libraries for the Slurm API.
We can use yum
or dnf
to install slurm-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install slurm-devel.
Install slurm-devel on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install slurm-devel
using dnf
by running the following command:
sudo dnf -y install slurm-devel
Install slurm-devel on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install slurm-devel
using yum
by running the following command:
sudo yum -y install slurm-devel
How To Uninstall slurm-devel on CentOS 8
To uninstall only the slurm-devel
package we can use the following command:
sudo dnf remove slurm-devel
slurm-devel Package Contents on CentOS 8
/usr/include/slurm
/usr/include/slurm/slurm.h
/usr/include/slurm/slurm_errno.h
/usr/include/slurm/slurmdb.h
/usr/include/slurm/smd_ns.h
/usr/include/slurm/spank.h
/usr/lib64/libslurm.so
/usr/lib64/slurm/src
/usr/lib64/slurm/src/sattach
/usr/lib64/slurm/src/sattach/sattach.wrapper.c
/usr/lib64/slurm/src/srun
/usr/lib64/slurm/src/srun/srun.wrapper.c
/usr/share/man/man3/slurm_allocate_het_job_blocking.3.gz
/usr/share/man/man3/slurm_allocate_resources.3.gz
/usr/share/man/man3/slurm_allocate_resources_blocking.3.gz
/usr/share/man/man3/slurm_allocation_lookup.3.gz
/usr/share/man/man3/slurm_allocation_msg_thr_create.3.gz
/usr/share/man/man3/slurm_allocation_msg_thr_destroy.3.gz
/usr/share/man/man3/slurm_api_version.3.gz
/usr/share/man/man3/slurm_clear_trigger.3.gz
/usr/share/man/man3/slurm_complete_job.3.gz
/usr/share/man/man3/slurm_confirm_allocation.3.gz
/usr/share/man/man3/slurm_create_partition.3.gz
/usr/share/man/man3/slurm_create_reservation.3.gz
/usr/share/man/man3/slurm_delete_partition.3.gz
/usr/share/man/man3/slurm_delete_reservation.3.gz
/usr/share/man/man3/slurm_free_ctl_conf.3.gz
/usr/share/man/man3/slurm_free_front_end_info_msg.3.gz
/usr/share/man/man3/slurm_free_job_alloc_info_response_msg.3.gz
/usr/share/man/man3/slurm_free_job_array_resp.3.gz
/usr/share/man/man3/slurm_free_job_info_msg.3.gz
/usr/share/man/man3/slurm_free_job_step_create_response_msg.3.gz
/usr/share/man/man3/slurm_free_job_step_info_response_msg.3.gz
/usr/share/man/man3/slurm_free_node_info.3.gz
/usr/share/man/man3/slurm_free_node_info_msg.3.gz
/usr/share/man/man3/slurm_free_partition_info.3.gz
/usr/share/man/man3/slurm_free_partition_info_msg.3.gz
/usr/share/man/man3/slurm_free_reservation_info_msg.3.gz
/usr/share/man/man3/slurm_free_resource_allocation_response_msg.3.gz
/usr/share/man/man3/slurm_free_slurmd_status.3.gz
/usr/share/man/man3/slurm_free_submit_response_response_msg.3.gz
/usr/share/man/man3/slurm_free_trigger_msg.3.gz
/usr/share/man/man3/slurm_get_end_time.3.gz
/usr/share/man/man3/slurm_get_errno.3.gz
/usr/share/man/man3/slurm_get_job_steps.3.gz
/usr/share/man/man3/slurm_get_rem_time.3.gz
/usr/share/man/man3/slurm_get_triggers.3.gz
/usr/share/man/man3/slurm_het_job_lookup.3.gz
/usr/share/man/man3/slurm_het_job_will_run.3.gz
/usr/share/man/man3/slurm_hostlist_create.3.gz
/usr/share/man/man3/slurm_hostlist_destroy.3.gz
/usr/share/man/man3/slurm_hostlist_shift.3.gz
/usr/share/man/man3/slurm_init_job_desc_msg.3.gz
/usr/share/man/man3/slurm_init_part_desc_msg.3.gz
/usr/share/man/man3/slurm_init_resv_desc_msg.3.gz
/usr/share/man/man3/slurm_init_trigger_msg.3.gz
/usr/share/man/man3/slurm_init_update_front_end_msg.3.gz
/usr/share/man/man3/slurm_init_update_node_msg.3.gz
/usr/share/man/man3/slurm_init_update_step_msg.3.gz
/usr/share/man/man3/slurm_job_cpus_allocated_on_node.3.gz
/usr/share/man/man3/slurm_job_cpus_allocated_on_node_id.3.gz
/usr/share/man/man3/slurm_job_step_create.3.gz
/usr/share/man/man3/slurm_job_step_launch_t_init.3.gz
/usr/share/man/man3/slurm_job_step_layout_free.3.gz
/usr/share/man/man3/slurm_job_step_layout_get.3.gz
/usr/share/man/man3/slurm_job_will_run.3.gz
/usr/share/man/man3/slurm_job_will_run2.3.gz
/usr/share/man/man3/slurm_jobinfo_ctx_get.3.gz
/usr/share/man/man3/slurm_kill_job.3.gz
/usr/share/man/man3/slurm_kill_job_step.3.gz
/usr/share/man/man3/slurm_load_ctl_conf.3.gz
/usr/share/man/man3/slurm_load_front_end.3.gz
/usr/share/man/man3/slurm_load_job.3.gz
/usr/share/man/man3/slurm_load_job_user.3.gz
/usr/share/man/man3/slurm_load_jobs.3.gz
/usr/share/man/man3/slurm_load_node.3.gz
/usr/share/man/man3/slurm_load_node_single.3.gz
/usr/share/man/man3/slurm_load_partitions.3.gz
/usr/share/man/man3/slurm_load_reservations.3.gz
/usr/share/man/man3/slurm_load_slurmd_status.3.gz
/usr/share/man/man3/slurm_notify_job.3.gz
/usr/share/man/man3/slurm_perror.3.gz
/usr/share/man/man3/slurm_pid2jobid.3.gz
/usr/share/man/man3/slurm_ping.3.gz
/usr/share/man/man3/slurm_print_ctl_conf.3.gz
/usr/share/man/man3/slurm_print_front_end_info_msg.3.gz
/usr/share/man/man3/slurm_print_front_end_table.3.gz
/usr/share/man/man3/slurm_print_job_info.3.gz
/usr/share/man/man3/slurm_print_job_info_msg.3.gz
/usr/share/man/man3/slurm_print_job_step_info.3.gz
/usr/share/man/man3/slurm_print_job_step_info_msg.3.gz
/usr/share/man/man3/slurm_print_node_info_msg.3.gz
/usr/share/man/man3/slurm_print_node_table.3.gz
/usr/share/man/man3/slurm_print_partition_info.3.gz
/usr/share/man/man3/slurm_print_partition_info_msg.3.gz
/usr/share/man/man3/slurm_print_reservation_info.3.gz
/usr/share/man/man3/slurm_print_reservation_info_msg.3.gz
/usr/share/man/man3/slurm_print_slurmd_status.3.gz
/usr/share/man/man3/slurm_read_hostfile.3.gz
/usr/share/man/man3/slurm_reconfigure.3.gz
/usr/share/man/man3/slurm_requeue.3.gz
/usr/share/man/man3/slurm_requeue2.3.gz
/usr/share/man/man3/slurm_resume.3.gz
/usr/share/man/man3/slurm_resume2.3.gz
/usr/share/man/man3/slurm_set_debug_level.3.gz
/usr/share/man/man3/slurm_set_trigger.3.gz
/usr/share/man/man3/slurm_shutdown.3.gz
/usr/share/man/man3/slurm_signal_job.3.gz
/usr/share/man/man3/slurm_signal_job_step.3.gz
/usr/share/man/man3/slurm_slurmd_status.3.gz
/usr/share/man/man3/slurm_sprint_front_end_table.3.gz
/usr/share/man/man3/slurm_sprint_job_info.3.gz
/usr/share/man/man3/slurm_sprint_job_step_info.3.gz
/usr/share/man/man3/slurm_sprint_node_table.3.gz
/usr/share/man/man3/slurm_sprint_partition_info.3.gz
/usr/share/man/man3/slurm_sprint_reservation_info.3.gz
/usr/share/man/man3/slurm_step_ctx_create.3.gz
/usr/share/man/man3/slurm_step_ctx_create_no_alloc.3.gz
/usr/share/man/man3/slurm_step_ctx_daemon_per_node_hack.3.gz
/usr/share/man/man3/slurm_step_ctx_destroy.3.gz
/usr/share/man/man3/slurm_step_ctx_get.3.gz
/usr/share/man/man3/slurm_step_ctx_params_t_init.3.gz
/usr/share/man/man3/slurm_step_launch.3.gz
/usr/share/man/man3/slurm_step_launch_abort.3.gz
/usr/share/man/man3/slurm_step_launch_fwd_signal.3.gz
/usr/share/man/man3/slurm_step_launch_wait_finish.3.gz
/usr/share/man/man3/slurm_step_launch_wait_start.3.gz
/usr/share/man/man3/slurm_strerror.3.gz
/usr/share/man/man3/slurm_submit_batch_job.3.gz
/usr/share/man/man3/slurm_suspend.3.gz
/usr/share/man/man3/slurm_suspend2.3.gz
/usr/share/man/man3/slurm_takeover.3.gz
/usr/share/man/man3/slurm_terminate_job.3.gz
/usr/share/man/man3/slurm_terminate_job_step.3.gz
/usr/share/man/man3/slurm_update_front_end.3.gz
/usr/share/man/man3/slurm_update_job.3.gz
/usr/share/man/man3/slurm_update_job2.3.gz
/usr/share/man/man3/slurm_update_node.3.gz
/usr/share/man/man3/slurm_update_partition.3.gz
/usr/share/man/man3/slurm_update_reservation.3.gz
/usr/share/man/man3/slurm_update_step.3.gz
References
Summary
In this tutorial we learn how to install slurm-devel
on CentOS 8 using yum and dnf.