File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ architecture = ["amd64"]
7575architecture = [" amd64" ]
7676
7777[cscs .systems .clariden ]
78- architecture = [" amd64 " ]
78+ architecture = [" arm64 " ]
7979
8080[cscs .systems .santis ]
8181architecture = [" arm64" ]
Original file line number Diff line number Diff line change @@ -500,8 +500,6 @@ async fn handle_edf(
500500 }
501501
502502 let environment_file = tera. render ( "environment.toml" , & context) ?;
503- api_client. mkdir ( current_system, base_path. to_path_buf ( ) ) . await ?;
504- api_client. chmod ( current_system, base_path. to_path_buf ( ) , "700" ) . await ?;
505503 api_client
506504 . upload ( current_system, environment_path. clone ( ) , environment_file. into_bytes ( ) )
507505 . await ?;
@@ -605,6 +603,8 @@ pub async fn cscs_job_start(
605603 . clone ( )
606604 . unwrap_or ( config. values . cscs . workdir . clone ( ) . unwrap_or ( "/scratch" . to_owned ( ) ) ) ;
607605 let base_path = scratch. join ( user_info. name . clone ( ) ) . join ( & job_name) ;
606+ api_client. mkdir ( current_system, base_path. to_path_buf ( ) ) . await ?;
607+ api_client. chmod ( current_system, base_path. to_path_buf ( ) , "700" ) . await ?;
608608
609609 let mut envvars = config. values . cscs . env . clone ( ) ;
610610 envvars. extend ( options. env . clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments