Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DCT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
graintracking
DCT
Commits
39adaa67
Commit
39adaa67
authored
12 years ago
by
Nicola Vigano
Browse files
Options
Downloads
Patches
Plain Diff
Fixes for oar, with the new DCT structure
Signed-off-by:
Nicola Vigano
<
nicola.vigano@esrf.fr
>
parent
2a6f0fd0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
zUtil_OAR/OAR_make.m
+1
-1
1 addition, 1 deletion
zUtil_OAR/OAR_make.m
zUtil_OAR/make_oar_matlab.m
+5
-5
5 additions, 5 deletions
zUtil_OAR/make_oar_matlab.m
with
6 additions
and
6 deletions
zUtil_OAR/OAR_make.m
+
1
−
1
View file @
39adaa67
...
@@ -138,7 +138,7 @@ out.odisp(app)
...
@@ -138,7 +138,7 @@ out.odisp(app)
%split executable path
%split executable path
[
~
,
fname
,
~
]
=
fileparts
(
executable
);
[
~
,
fname
,
~
]
=
fileparts
(
executable
);
%split tempname path
%split tempname path
[
~
,
tempfilename
]
=
fileparts
(
tempname
);
[
~
,
tempfilename
]
=
fileparts
(
tempname
());
% This is actually a matlab function
%% Setting log dir and log file names
%% Setting log dir and log file names
...
...
This diff is collapsed.
Click to expand it.
zUtil_OAR/make_oar_matlab.m
+
5
−
5
View file @
39adaa67
...
@@ -23,9 +23,9 @@ function script_location = make_oar_matlab(pathdir, tmpdir, tmpname, oarpars)
...
@@ -23,9 +23,9 @@ function script_location = make_oar_matlab(pathdir, tmpdir, tmpname, oarpars)
&&
isfield
(
xmlConf
.
general
,
'
libraries
'
)
...
&&
isfield
(
xmlConf
.
general
,
'
libraries
'
)
...
&&
isfield
(
xmlConf
.
general
.
libraries
,
'
path
'
))
&&
isfield
(
xmlConf
.
general
.
libraries
,
'
path
'
))
numPaths
=
numel
(
xmlConf
.
general
.
libraries
.
path
);
numPaths
=
numel
(
xmlConf
.
general
.
libraries
.
path
);
externalLibs
=
cell
(
numPaths
,
1
);
externalLibs
=
cell
(
1
,
numPaths
);
for
n
=
1
:
numPaths
for
n
=
1
:
numPaths
externalLibs
{
n
}
=
[
exportLibary
xmlConf
.
astra
.
mex
.
path
{
n
}
'"'
];
externalLibs
{
n
}
=
[
exportLibary
xmlConf
.
general
.
libraries
.
path
{
n
}
'"'
];
end
end
else
else
externalLibs
=
{};
externalLibs
=
{};
...
@@ -45,13 +45,13 @@ function script_location = make_oar_matlab(pathdir, tmpdir, tmpname, oarpars)
...
@@ -45,13 +45,13 @@ function script_location = make_oar_matlab(pathdir, tmpdir, tmpname, oarpars)
[
'#
OAR
--
name
'
oarpars
.
name
],
...
[
'#
OAR
--
name
'
oarpars
.
name
],
...
'#
OAR
-
-
project
graintracking
'
}
;
'#
OAR
-
-
project
graintracking
'
}
;
libraries
=
[
externalLibs
,
...
libraries
=
[
externalLibs
,
...
...
%
To
make
compiled
functions
visible
[
exportPath
fullfile
(
GT_MATLAB_HOME
,
'
bin
'
,
'
compiled
'
,
getenv
(
'
CPU
'
))
'"'
],
...
...
%
On
linux
systems
it
is
surely
required
,
but
on
windows
the
path
could
be
different
...
%
On
linux
systems
it
is
surely
required
,
but
on
windows
the
path
could
be
different
[
exportLibary
fullfile
(
matlabroot
,
'
runtime
'
,
'
glnxa64
'
)
'"'
],
...
[
exportLibary
fullfile
(
matlabroot
,
'
runtime
'
,
'
glnxa64
'
)
'"'
],
...
[
exportLibary
fullfile
(
matlabroot
,
'
bin
'
,
'
glnxa64
'
)
'"'
],
...
[
exportLibary
fullfile
(
matlabroot
,
'
bin
'
,
'
glnxa64
'
)
'"'
],
...
[
exportLibary
fullfile
(
matlabroot
,
'
sys
'
,
'
os
'
,
'
glnxa64
'
)
'"'
],
...
[
exportLibary
fullfile
(
matlabroot
,
'
sys
'
,
'
os
'
,
'
glnxa64
'
)
'"'
],
...
[
exportLibary
fullfile
(
matlabroot
,
'
sys
'
,
'
java
'
,
'
jre
'
,
'
glnxa64
'
,
'
jre
'
,
'
lib
'
,
'
amd64
'
,
'
server
'
)
'"'
]
];
[
exportLibary
fullfile
(
matlabroot
,
'
sys
'
,
'
java
'
,
'
jre
'
,
'
glnxa64
'
,
'
jre
'
,
'
lib
'
,
'
amd64
'
,
'
server
'
)
'"'
],
...
...
%
To
make
compiled
functions
visible
[
exportPath
fullfile
(
GT_MATLAB_HOME
,
'
bin
'
,
'
compiled
'
,
getenv
(
'
HOSTTYPE
'
))
'"'
]
];
script_content
=
[
header
,
''
,
libraries
,
''
,
'
"$@"
'
];
script_content
=
[
header
,
''
,
libraries
,
''
,
'
"$@"
'
];
script_content
(
2
,
:
)
=
{
sprintf
(
'\n'
)};
script_content
(
2
,
:
)
=
{
sprintf
(
'\n'
)};
...
...
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