Commit Graph

45 Commits (7dd2dd5e24a343fbeaf3522ea5e535c27d8b9f95)

Author SHA1 Message Date
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
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
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) 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 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
Johannes Pfeifer 0c00e28799 Remove objective_function_penalty_base 2016-06-15 00:30:28 +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
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) 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
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 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 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
Sébastien Villemot 1f9cea669a Update copyright notices 2012-06-08 18:22:34 +02:00
Marco Ratto ff5a802f65 allow the possibility to close all slaves from a condition found in one single thread (e.g. in a while loop where all threads look for the verification of a condition in a loop) 2012-02-10 22:41:54 +01:00
Marco Ratto 64e6de59f3 last provisions for hybrid unix <-> win clusters 2011-06-17 17:16:32 +02:00
Marco Ratto 4b85444b18 Fixes related to hybrid clusters with unix master and windows slaves. 2011-06-06 15:21:26 +02:00
Marco Ratto e94ca34e70 some comments and cosmethics 2011-05-10 10:08:29 +02:00
Marco Ratto b5a6e6ba75 Changes and fixes related to:
1) runtime retrieve of remote files;
2) mixed cluster matlab/octave;
3) master windows calling remote unix slaves;
2011-05-04 10:36:24 +02:00
Marco Ratto e86e4b0bac Fixes related to the possibility of having octave slaves called by a matlab master. 2011-04-06 14:28:21 +02:00
Houtan Bastani c59133562c more short-circuit logicals in the place of element-wise logicals 2011-02-22 15:06:38 +01:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
Sébastien Villemot 757a9067c0 Global reindentation of MATLAB files 2011-02-04 17:17:48 +01:00
Marco Ratto 0a93e9f28e - warning of for octave;
- fixed bug with batch file for octave;
- fixed screen output for octave;
- cosmethics
2011-02-02 14:15:18 +01:00
Marco Ratto 78c21916da Fixed output for octave/unix octave/win 2011-01-21 11:25:30 +01:00
Marco Ratto 4eb91731fc Several fixes for octave compatibility:
- use of ispc;
- mat extension is save files;
- remove catch ME expressions;
- added printf message for octave runs
2011-01-21 11:21:32 +01:00
Marco Ratto 191de78310 Introduced console mode monitoring of parallel runs;
Minor changes
2010-12-17 09:20:30 +01:00
Marco Ratto a46969f9fb Deleted buggy fclose instruction 2010-10-22 11:40:29 +02:00
Marco Ratto d8121365dd 1) Renamed options according ti WiKi table;
2) get rid of MasterName and DyMo;
3) more comments;
2010-10-22 11:27:26 +02:00
Marco Ratto c15508eae0 1) better display of remote errors;
2) fixed bug in sync of sequence of files sent to remote slaves;
2010-10-15 11:33:40 +02:00
Marco Ratto f079411126 bug fix: precisely determine from which machine to get the output files 2010-10-11 20:17:03 +02:00
Marco Ratto 6a1826aa53 1) fixed bug introduced moving folders (parallel routines no longer on path!);
2) fixed bug with logic of islocal;
3) better cleanup of remnants;
4) fixed bug with sending and DELETING P*End.txt files;
2010-10-11 19:40:42 +02:00
Marco Ratto a3b30e885a Move parallel routines to parallel folder 2010-10-11 15:15:40 +02:00