Marco Ratto
e918589e02
fix undefined index j using wildcard
...
Closes : #1915
2023-12-21 14:02:13 +01:00
Willi Mutschler
5f1ae3bb19
🐛 Fix bugs in parallel toolbox introduced in 47af0c
...
1. 'fGlobalVar' was misspelled
2. Removing the eval crashes the parallel option as global variables are not passed correctly. Because it originally was an assignment where the variable named options_ was assigned to fGlobalVar.options_, but after 47af0cdewe only assign the string 'options_' stored in GlobalNames{j}.
2023-12-20 18:22:41 +01:00
Sébastien Villemot
52b92ce64d
Merge branch 'parallel' of git.dynare.org:JohannesPfeifer/dynare
...
Ref. !2240
2023-12-19 18:32:24 +01:00
Johannes Pfeifer
278e767ea1
closeSlave.m: remove duplicated condition and restore warning
2023-12-19 09:04:27 +01:00
Johannes Pfeifer
90ced5ca47
slaveParallel.m: minor cleanup
2023-12-19 09:03:30 +01:00
Johannes Pfeifer
4512e85cb2
Restore outputs erroneously removed in 735bd66d
2023-12-18 17:07:01 +01:00
Stéphane Adjemian (Ryûk)
4982ce06b4
Remove unnecessary square brackets.
2023-12-18 10:49:49 +01:00
Stéphane Adjemian (Ryûk)
735bd66d4d
Remove unused output arguments.
2023-12-18 07:48:27 +01:00
Stéphane Adjemian (Guts)
44119077db
Separate outputs with commas.
2023-12-15 16:55:24 +01:00
Stéphane Adjemian (Guts)
47af0cde16
Remove calls to eval.
2023-12-15 16:34:27 +01:00
Sébastien Villemot
79959aa587
Remove duplicate branches in if/then/else statements
...
Detected by MATLAB Code Analyzer app.
2023-12-15 15:31:52 +01:00
Johannes Pfeifer
e65662151f
Eliminate set_dynare_seed.m calls with globals
2023-09-28 17:00:21 +02:00
Willi Mutschler
e6aff20142
doc: clarify NumberOfThreadsPerJob and SingleCompThread
...
[skip ci]
2023-09-27 10:40:27 +02:00
Johannes Pfeifer
ad2d986c5e
masterParallel.m: assign explicit empty window title to allow passing full path in quoted strings
...
Closes https://git.dynare.org/Dynare/dynare/-/issues/1887
2023-05-24 06:45:24 -04:00
Johannes Pfeifer
6872d8b0d1
Various cosmetic fixes
2022-08-31 14:58:00 +02:00
Sébastien Villemot
10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
...
It is now supported by the MATLAB editor (as of R2022a).
The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).
The particles submodule is not updated at this point, because it is in an
inconsistent state.
[skip ci]
2022-04-13 14:54:25 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Marco Ratto
9ed9aa5963
For local clusters only, allow using start instead of psexec with windows, to properly allocate affinity when there are more than 32 cores. Manual updated accordingly.
2021-05-06 16:31:06 +02:00
Johannes Pfeifer
d7b7ce8940
AnalyseComputationalEnvironment.m: define missing command string used in error message
2020-09-02 12:41:31 +02:00
Houtan Bastani
7a02b3bfd2
various fixes to dynareParallelDelete.m
...
- did not account for cases when username not set (namely when remote is localhost)
- did not account for cases when remote directory was not set (namely when remote is localhost)
- added unnecessary `filesep` to `pname` when `pname` was empty
- ignore unused output arguments (it is necessary to explicitly ignore them to prevent unwanted output from the `system` call)
- globbing did not work as it was expanded on the calling machine not the remote; pass call to `bash -c` to handle this
2020-02-25 16:18:55 +01:00
Sébastien Villemot
49dc997073
Global reindentation of MATLAB code (excluding submodules)
...
Also convert to Unix end-of-lines, and remove trailing whitespaces.
2019-12-20 16:30:27 +01:00
Marco Ratto
da4baa5d50
make mh_recover robust to crashed parallel jobs
2019-12-12 22:24:30 +01:00
MichelJuillard
2977c9336e
fix finding CPU's number when larger than 9
2019-05-20 09:57:10 +00:00
Johannes Pfeifer
9fadf19bc2
Add -accepteula flag to psexec call
...
Prevents freezing if dialog has not been opened before
2018-01-25 11:45:41 +01:00
Stéphane Adjemian (Charybdis)
2647f258d4
Cosmetic changes (code factorization).
2018-01-25 11:34:54 +01:00
Johannes Pfeifer
4c7960fbdc
AnalyseComputationalEnvironment.m: print out command that caused error as well as system response
2018-01-25 10:49:58 +01:00
Stéphane Adjemian (Charybdis)
1bf81c9f5a
Fixed copyright notices.
2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis)
5417b27ac7
Fixed indentation of matlab files.
2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis)
a53636e24e
Fixed copyright notices.
2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis)
88e1701289
Removed useless commas and semicolons.
2017-05-16 13:24:46 +02:00
Marco Ratto
3c892170ef
Fixed bug with getting CPU number on mac [see #1272 #838 ]
2017-01-03 19:24:18 +01:00
Marco Ratto
a55cbdd5fe
Provisions for new node option NumberOfThreadsPerJob. Document option
2016-12-19 23:28:46 +01:00
Marco Ratto
454ac69191
allow spaces in the name of working directories for parallel execution.
2016-11-07 17:19:38 +01:00
MichelJuillard
b5b9f46ff9
Merge pull request #1222 from JohannesPfeifer/paralleldelete
...
dynareParallelDelete.m: Condition delete-command on existence of file…
2016-08-20 18:37:01 +02:00
Johannes Pfeifer
4a723872eb
dynareParallelDelete.m: Condition delete-command on existence of file to prevent warning
...
Closes #1195
2016-08-20 18:02:04 +02:00
Johannes Pfeifer
0c00e28799
Remove objective_function_penalty_base
2016-06-15 00:30:28 +02:00
Johannes Pfeifer
1f71331e58
Fix dynareParallelGetFiles.m call to random_walk_metropolis_hastings
2016-05-19 17:43:48 +02:00
Michel Juillard
f464760c45
Revert "remove global objective_function_penalty_base"
...
This reverts commit cf858c7fcb
.
2015-10-09 14:23:31 +02:00
Michel Juillard
cf858c7fcb
remove global objective_function_penalty_base
2015-10-08 20:57:00 +02:00
Johannes Pfeifer
67b3c5deef
Cosmetic changes to masterParallel.m
2015-04-30 09:04:09 +02:00
Sébastien Villemot
5308da2cad
Upgrade the minimum requirement to MATLAB 7.5 (R2007b).
2014-02-03 15:52:54 +01:00
Houtan Bastani
79f35961ed
clean up file
...
* remove comment as rmdir with 's' option is Octave (not Windows) specific
* remove val as it's not used
* take confirm_recursive_rmdir out of for loop to avoid unnecessary resetting of the value
2013-12-18 14:13:31 +01:00
Houtan Bastani
bbdad94d96
parallel: add local switch to confirm_recursive_rmdir
2013-12-18 14:07:25 +01:00
Stéphane Adjemian (Charybdis)
ddd95361ba
Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION').
2013-11-04 10:54:45 +01:00
Stéphane Adjemian (Charybdis)
4052d4ccaf
Cosmetic changes. Use skipline() instead of disp(' ').
2013-07-10 17:12:34 +02:00
Stéphane Adjemian (Charybdis)
8e897b63e2
Fixed typo introduced in commit e8ed4c1f67
.
2013-06-13 16:39:12 +02:00
Johannes Pfeifer
e8ed4c1f67
Bunch of cosmetic changes
2013-06-13 14:24:17 +02:00
Sébastien Villemot
61485ab809
Fix copyright notices
2013-06-12 17:04:46 +02:00
Marco Ratto
73765b52ca
Allow using new option
...
options_.parallel_info.local_files
that allow porting to remote threads user-specific local files needed to run the project (e.g. used within the steadystate file)
2013-05-23 17:54:22 +02:00
Johannes Pfeifer
1e0a728906
Fix bug introduced in 27fda91c8c
...
For parallel computations, the relative path is necessary.
2013-05-02 14:27:05 +02:00