path definitions for CEA PC LUKE computer Input: - luke_ref: for CVS tagged LUKE version [1,m] (default: 'LUKE') Output: - dkepath: path structure Warning: none By Yves Peysson (CEA/DSM/IRFM, yves.peysson@cea.fr) and Joan Decker (CEA/DSM/IRFM, joan.decker@cea.fr)
0001 function [pcluke] = path_CEA_PC_LUKE(luke_ref) 0002 % 0003 % path definitions for CEA PC LUKE computer 0004 % 0005 % Input: 0006 % 0007 % - luke_ref: for CVS tagged LUKE version [1,m] 0008 % (default: 'LUKE') 0009 % 0010 % Output: 0011 % 0012 % - dkepath: path structure 0013 % 0014 % Warning: none 0015 % 0016 % By Yves Peysson (CEA/DSM/IRFM, yves.peysson@cea.fr) and Joan Decker (CEA/DSM/IRFM, joan.decker@cea.fr) 0017 % 0018 if nargin == 0, luke_ref = 'LUKE';end 0019 % 0020 [dummy,matlabversion,matlabrelease] = LUKEversion_jd; 0021 % 0022 pcluke.hostname = 'PC-Luke'; 0023 pcluke.machine = 'pcluke'; 0024 pcluke.computer = computer;%machine type and supported OS 0025 % 0026 % Selected user profile (structure hostname.usernames(pathref).xxx) 0027 % 0028 pcluke.path_profile = 1; 0029 % 0030 %------------------------------------ Profile number 1, Yves Peysson ------------------------------------ 0031 % 0032 pcluke.lukeuser(1).luke_root = [getenv('HOME'),'/',luke_ref,'/'];; 0033 pcluke.lukeuser(1).local_root = '/home/lukeuser/Work/'; 0034 pcluke.lukeuser(1).temppathroot = '/home/lukeuser/tmp/';%Absolute root directory path adress where temporary matrices are stored (empty: local directory) 0035 % 0036 pcluke.lukeuser(1).mex702 = [pcluke.lukeuser(1).luke_root,'Project_DKE/MEX/Bin/pcluke/MATLAB72/']; 0037 pcluke.lukeuser(1).compiler_opt.helmex = '';% Optional argument for helmex compilation 0038 % 0039 pcluke.lukeuser(1).MUMPS.mex702 = [pcluke.lukeuser(1).local_root,'Packages/Bin/MUMPS/MUMPS_4.7.3_S_g95/MATLAB72/'];%Where MUMPS matrix solver is stored (MEX function)