Commit Graph

114 Commits (4733d97cebde01370afaf617f790a70f051d4abc)

Author SHA1 Message Date
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
Johannes Pfeifer 27fda91c8c Replace relative by absolute filenames
Closes #329
2013-04-27 16:36:10 +02:00
Marco Ratto 9ca6898446 Fixed bug introduced in commit c9402d9ecc for local threads 2013-04-08 12:47:41 +02:00
Marco Ratto c9402d9ecc Several bug fixes:
1) properly manage hybrid matlab/octave computations;
2) check for function handles under octave, which cannot be saved on a mat file;
3) bug fix for non standard octave path;
4) synchronization fix under octave;
5) Retrieve missing output files when remote threads are finished;
6) check if input files have been updated, like in metropolis computations with load_mh_file=1;
7) check if output files are missing to trap synchronization failures: this may be inefficient and needs to be improved for unix/windows clusters;
8) fixed cleanup with multiple remote nodes.
2013-04-05 17:44:08 +02:00
Marco Ratto 844cbac2b3 fixed output argument as a proper char matrix for both unix and windows OS. 2013-04-05 17:30:50 +02:00
Marco Ratto 8de02041ef synchronization pause(1) to fix bug in matlab-octave clusters under unix 2013-04-05 17:29:40 +02:00
Marco Ratto 0fb688136e 1) used Environment input argument to GiveCPUnumber to fix bug with hybrid unix/windows clusters;
2) removed return after failure of ping; some machines like hal can be connected but do not allow ping;
2013-04-05 17:28:43 +02:00
Marco Ratto 09bc0a0aaa fixed bug with seeds in hybrid matlab-octave parallel clusters 2013-04-05 17:25:34 +02:00
Marco Ratto bfa3ecbe3b 1) Fix compatibility problems with the Port field in unix nodes of the cluster
2) better cleanup of remnants of remote parallel runs when Strategy ==1
3) for  windows sessions eliminate the use of start, replaced by psexec -d  instanced, to allow cleanup of .bat file
4) fix bug in Strategy==1 that was not properly cleaned by deleting new files on exit
2013-03-27 17:16:28 +01:00
Marco Ratto 203c8ea643 1) Fix compatibility problems with the Port field in unix nodes of the cluster;
2) Fix bug when local machine is accessed through the network in windows;
3) small bug fix in remote directory check;
2013-03-27 16:33:11 +01:00
Marco Ratto b82bc0586a 1) Fix for octave compatibility;
2) cleanup slavejob files
2013-03-27 16:31:45 +01:00
Marco Ratto 2133ae43a6 Allow for exceptions in deleting new files created remotely 2013-03-27 16:30:46 +01:00
Marco Ratto f2cce399b8 1) Fix compatibility problems with the Port field in unix nodes of the cluster;
2) fix in defining the list of files;
2013-03-27 16:30:12 +01:00
Marco Ratto 8cd68dc02a 1) Fix compatibility problems with the Port field in unix nodes of the cluster;
2) bug fix in security checks;
2013-03-27 16:29:50 +01:00
Marco Ratto 0a2f7f3e6d Fix compatibility problems with the Port field in unix nodes of the cluster 2013-03-27 16:28:31 +01:00
Marco Ratto 428b193c11 Need to pass the entire global workspace, if subroutines called by the _core loops need them. Updated parallel test. 2012-09-11 15:45:08 +02:00
Marco Ratto 4cba20f231 Fixed bug in parallel_test 2012-07-02 10:15:38 +02:00
Sébastien Villemot 1f9cea669a Update copyright notices 2012-06-08 18:22:34 +02:00