Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PIGLE_BACH
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hacker, Benno
PIGLE_BACH
Commits
123d8ddc
Commit
123d8ddc
authored
6 months ago
by
benno
Browse files
Options
Downloads
Patches
Plain Diff
small base changes, config changes for Sweep; enable faster deleting of unnessacery files from jobs
parent
8b2885fa
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Pyrazine simple
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
UI/config_job_params.m
+1
-1
1 addition, 1 deletion
UI/config_job_params.m
del_unnesessary_files.m
+32
-0
32 additions, 0 deletions
del_unnesessary_files.m
sweepParams/config_job.m
+7
-2
7 additions, 2 deletions
sweepParams/config_job.m
with
40 additions
and
3 deletions
UI/config_job_params.m
+
1
−
1
View file @
123d8ddc
...
...
@@ -15,4 +15,4 @@ n_cores_available = 8; % How many parallel processes can be used on the target
% Define the parameter space and values to be probed.
sweepParams
=
{
'A_eta'
,
'T'
};
sweepVal
=
{{
0.1
0.3
1
3
10
},{
100
,
140
,
200
,
2
5
0
,
30
0
,
3
2
0
,
340
,
370
,
400
}};
sweepVal
=
{{
0.1
0.3
1
3
10
},{
100
,
140
,
170
,
200
,
2
4
0
,
27
0
,
3
0
0
,
340
,
370
,
400
}};
This diff is collapsed.
Click to expand it.
del_unnesessary_files.m
+
32
−
0
View file @
123d8ddc
...
...
@@ -5,4 +5,36 @@ if ~strcmp(tmp{end},'mexInteractions')
delete
*
mexa64
frmBuilder
*
interp1lin
*
intrAdsr
*
setclist
*
*
slxc
else
disp
(
'do not delete core files'
)
end
if
0
%%
tmp
=
dir
(
'**/*frmBuilder*'
);
for
i
=
1
:
length
(
tmp
)
str
=
[
tmp
(
i
)
.
folder
,
'/'
,
tmp
(
i
)
.
name
];
delete
(
str
)
end
tmp
=
dir
(
'**/*interp1lin*'
);
for
i
=
1
:
length
(
tmp
)
str
=
[
tmp
(
i
)
.
folder
,
'/'
,
tmp
(
i
)
.
name
];
delete
(
str
)
end
tmp
=
dir
(
'**/*intrAdsr*'
);
for
i
=
1
:
length
(
tmp
)
str
=
[
tmp
(
i
)
.
folder
,
'/'
,
tmp
(
i
)
.
name
];
delete
(
str
)
end
tmp
=
dir
(
'**/*setclist*'
);
for
i
=
1
:
length
(
tmp
)
str
=
[
tmp
(
i
)
.
folder
,
'/'
,
tmp
(
i
)
.
name
];
delete
(
str
)
end
tmp
=
dir
(
'**/*slxc'
);
for
i
=
1
:
length
(
tmp
)
str
=
[
tmp
(
i
)
.
folder
,
'/'
,
tmp
(
i
)
.
name
];
delete
(
str
)
end
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
sweepParams/config_job.m
+
7
−
2
View file @
123d8ddc
...
...
@@ -91,7 +91,7 @@ save(job_name,'job_strct')
% create run_job file
cd
(
pigle_shell_path
)
if
exist
(
'run_job.m'
,
'file'
)
==
2
if
isfile
(
'run_job.m'
)
fid
=
fopen
(
'run_job.m'
,
'w'
);
fprintf
(
fid
,
'%s'
,
' '
);
fclose
(
fid
);
...
...
@@ -108,8 +108,13 @@ for i=start_i:(start_i-1)+Njobs
else
str2
=
[
'sub_job_path=pwd; run(
''
../../sweepParams/pigle_run_single_task.m
''
)'
];
end
if
i
>
start_i
str3
=
'rmpath(sub_job_path);'
;
else
str3
=
''
;
end
%str3 = ['sleep ' num2str(5*i)];
fprintf
(
fid
,
'%s\n%s\n'
,
str1
,
str2
);
fprintf
(
fid
,
'%s\n%s\n
%s\n
'
,
str1
,
str3
,
str2
);
end
if
distributed_computing
,
fprintf
(
fid
,
'%s\n'
,
'wait'
);
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment