Check the prefix of a potential plugin name before trying to dlopen it.
Only attempt to open files having the proper prefix. For example, slurmd should never even try to dlopen a plugin with a prefix of "jobcomp" as doing so both wastes time and generates undefined external errors (the jobcomp plugin is written for the slurmctld daemon and only it has the proper external function to dlopen that plugin).
Please register or sign in to comment