MPICH: Fix Slurm Find Issue (#13263)
Set include and library path to slurm explicitly.
This commit is contained in:
		| @@ -180,6 +180,15 @@ def configure_args(self): | ||||
|                                                 spec else 'yes') | ||||
|         ] | ||||
|  | ||||
|         if '+slurm' in spec: | ||||
|             config_args.append('--with-slurm=yes') | ||||
|             config_args.append('--with-slurm-include={0}'.format( | ||||
|                 spec['slurm'].prefix.include)) | ||||
|             config_args.append('--with-slurm-lib={0}'.format( | ||||
|                 spec['slurm'].prefix.lib)) | ||||
|         else: | ||||
|             config_args.append('--with-slurm=no') | ||||
|  | ||||
|         if 'pmi=off' in spec: | ||||
|             config_args.append('--with-pmi=no') | ||||
|         elif 'pmi=pmi' in spec: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Axel Huebl
					Axel Huebl