@@ -172,7 +172,7 @@ function Emin_from_projwfc(structure::Structure, states, bands::Vector{Band},
172172end
173173
174174function remote_calcs (job, _calculation:: Calculation{Wannier90} )
175- calcs = RemoteHPC. Calculation []
175+ calcs = RemoteHPC. Process []
176176 filename = _calculation. infile
177177 should_run = _calculation. run
178178 nscf = getfirst (x -> Calculations. isnscf (x), job. calculations)
@@ -183,7 +183,7 @@ function remote_calcs(job, _calculation::Calculation{Wannier90})
183183 pw2wan_exec = Exec (name = " " , dir= nscf. exec. dir, exec= " pw2wannier90.x" , modules= nscf. exec. modules)
184184
185185 preprocess = get (_calculation, :preprocess , false )
186- return [RemoteHPC. Calculation (_calculation. exec, " -pp $filename > $(_calculation. outfile) " , preprocess || should_run),
187- RemoteHPC. Calculation (pw2wan_exec, " -pd .true. < pw2wan_$(splitext (filename)[1 ]) .in > pw2wan_$(splitext (filename)[1 ]) .out" , preprocess || should_run),
188- RemoteHPC. Calculation (_calculation. exec, " $filename > $(_calculation. outfile) " , should_run)]
186+ return [RemoteHPC. Process (_calculation. exec, " -pp $filename > $(_calculation. outfile) " , preprocess || should_run),
187+ RemoteHPC. Process (pw2wan_exec, " -pd .true. < pw2wan_$(splitext (filename)[1 ]) .in > pw2wan_$(splitext (filename)[1 ]) .out" , preprocess || should_run),
188+ RemoteHPC. Process (_calculation. exec, " $filename > $(_calculation. outfile) " , should_run)]
189189end
0 commit comments