octopus: add etsf-io variant (#36490)
This commit is contained in:
		 Ashwin Kumar Karnad
					Ashwin Kumar Karnad
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							e356390575
						
					
				
				
					commit
					709c5c4844
				
			| @@ -59,6 +59,7 @@ class Octopus(AutotoolsPackage, CudaPackage): | |||||||
|     variant("libvdwxc", default=False, description="Compile with libvdwxc") |     variant("libvdwxc", default=False, description="Compile with libvdwxc") | ||||||
|     variant("libyaml", default=False, description="Compile with libyaml") |     variant("libyaml", default=False, description="Compile with libyaml") | ||||||
|     variant("elpa", default=False, description="Compile with ELPA") |     variant("elpa", default=False, description="Compile with ELPA") | ||||||
|  |     variant("etsf-io", default=False, description="Compile with etsf-io") | ||||||
|     variant("nlopt", default=False, description="Compile with nlopt") |     variant("nlopt", default=False, description="Compile with nlopt") | ||||||
|     variant( |     variant( | ||||||
|         "pnfft", |         "pnfft", | ||||||
| @@ -100,6 +101,7 @@ class Octopus(AutotoolsPackage, CudaPackage): | |||||||
|         depends_on("elpa~mpi", when="+elpa") |         depends_on("elpa~mpi", when="+elpa") | ||||||
|         depends_on("netcdf-fortran ^netcdf-c~~mpi", when="+netcdf") |         depends_on("netcdf-fortran ^netcdf-c~~mpi", when="+netcdf") | ||||||
| 
 | 
 | ||||||
|  |     depends_on("etsf-io", when="+etsf-io") | ||||||
|     depends_on("py-numpy", when="+python") |     depends_on("py-numpy", when="+python") | ||||||
|     depends_on("py-mpi4py", when="+python") |     depends_on("py-mpi4py", when="+python") | ||||||
|     depends_on("metis@5:+int64", when="+metis") |     depends_on("metis@5:+int64", when="+metis") | ||||||
| @@ -225,6 +227,8 @@ def configure_args(self): | |||||||
|             args.append("--enable-python") |             args.append("--enable-python") | ||||||
| 
 | 
 | ||||||
|         # --with-etsf-io-prefix= |         # --with-etsf-io-prefix= | ||||||
|  |         if "+etsf-io" in spec: | ||||||
|  |             args.append("--with-etsf-io-prefix=%s" % spec["etsf-io"].prefix) | ||||||
|         # --with-sparskit=${prefix}/lib/libskit.a |         # --with-sparskit=${prefix}/lib/libskit.a | ||||||
|         # --with-pfft-prefix=${prefix} --with-mpifftw-prefix=${prefix} |         # --with-pfft-prefix=${prefix} --with-mpifftw-prefix=${prefix} | ||||||
|         # --with-berkeleygw-prefix=${prefix} |         # --with-berkeleygw-prefix=${prefix} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user