Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
2d217295
Commit
2d217295
authored
Apr 14, 2010
by
Marco Ratto
Browse files
bug fix for non-existing remote sub-folders
parent
47eac6ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/masterParallel.m
View file @
2d217295
...
...
@@ -169,7 +169,10 @@ for j=1:totCPU,
end
else
copyfile
([
fname
,
'_input.mat'
],
[
'\\'
,
Parallel
(
indPC
)
.
PcName
,
'\'
,
Parallel
(
indPC
)
.
RemoteDrive
,
'$\'
,
Parallel
(
indPC
)
.
RemoteFolder
]);
for
jfil
=
1
:
size
(
NamFileInput
,
1
)
for
jfil
=
1
:
size
(
NamFileInput
,
1
),
if
~
isempty
(
NamFileInput
{
jfil
,
1
})
mkdir
([
'\\'
,
Parallel
(
indPC
)
.
PcName
,
'\'
,
Parallel
(
indPC
)
.
RemoteDrive
,
'$\'
,
Parallel
(
indPC
)
.
RemoteFolder
,
'\'
,
NamFileInput
{
jfil
,
1
}]);
end
copyfile
([
NamFileInput
{
jfil
,
1
},
NamFileInput
{
jfil
,
2
}],[
'\\'
,
Parallel
(
indPC
)
.
PcName
,
'\'
,
Parallel
(
indPC
)
.
RemoteDrive
,
'$\'
,
Parallel
(
indPC
)
.
RemoteFolder
,
'\'
,
NamFileInput
{
jfil
,
1
}])
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment