Commit Graph

243 Commits

Author SHA1 Message Date
Martin Diehl 449c66c70f did some testing... 2014-01-14 19:32:55 +00:00
Martin Diehl 01c8c434f7 finished work on the new installation scheme (if no bugs are found ;)) 2014-01-14 19:03:41 +00:00
Martin Diehl 3d69d9b927 moved DAMASK_NUM_THREADS to options, DAMASK_env.sh gets it from there 2014-01-13 10:56:54 +00:00
Martin Diehl aab0208c65 more modifications, only configure needs modifications 2014-01-12 17:29:00 +00:00
Martin Diehl 80da1c529e some more work on the consistent installation scheme, fixed bug in Makefile 2014-01-11 19:13:02 +00:00
Martin Diehl 4271f65d05 textfile containing options (like pathinfo, but extended and will be directly used by the Makefile) 2014-01-11 17:16:51 +00:00
Martin Diehl 2262098ed4 more work on new installation 2014-01-11 14:28:07 +00:00
Martin Diehl e025ac5952 fixed DAMASK_env.sh to work with linux and Mac, started to reorganize installation to be consistent for all solvers 2014-01-11 12:46:30 +00:00
Christoph Kords 9a2ad45f7a probably(?) fixed bug with Windows: comparison string should be 'Windows' not 'Windos' , I suppose 2014-01-02 15:08:09 +00:00
Martin Diehl 65de581f72 new script setup_env.py to modify DAMASK_env files, will replace setup_shellrc.py 2013-12-21 11:57:02 +00:00
Franz Roters 543639bb8f added support for Marc/Mentat2013.1 2013-12-19 13:37:35 +00:00
Martin Diehl bb0b35e466 made compilation_info.f90 windows compatible and added abaqus_v6_windows.env as a template for using DAMASK with windows.
Deleted old fftw and ACML installation instruction (can be found on damask.mpie.de)
2013-10-10 09:38:31 +00:00
Philip Eisenlohr 1593daea97 exchanged order of asking for BLASDIR and BLASTYPE. now type comes first (otherwise you may not know your options...) 2013-09-23 19:27:34 +00:00
Franz Roters 5bb9c95245 removed compiler option '-diag-enable sc3' from openMP compiler calls as it does not work together 2013-08-08 14:47:04 +00:00
Franz Roters 7415c934c5 fixed too long lines in Fortran commands with openMP 2013-08-08 07:53:51 +00:00
Franz Roters 1c933bd39a added possibility to create damsk symlinks in /usr/local/bin, that's where also marc mentat links are placed by default 2013-08-02 13:55:06 +00:00
Franz Roters f896b4a01e updated Marc/Mentat integration once more to minimze interference with original instal
added support for Marc2013, which is now default in apply_DAMASK_modifications
2013-07-24 08:41:58 +00:00
Martin Diehl a7b6093edc fixed bug in include_linux64 for Marc 2012, tests should run again after updating the copy in /msc/....
polished two other versions of this file
unified output format for /echo/ in material.f90
2013-06-11 07:28:08 +00:00
Franz Roters 6b7a69fea6 Layout compromise between classic and new Mentat 2013-04-29 14:27:25 +00:00
Franz Roters 29a6d4f901 new Mentat integration; thre is a DAMASK menu now in jobs/run
our installations will be updated one by one, so watch out for the new menu!
2013-04-26 13:43:10 +00:00
Martin Diehl 8da7544978 marc doesn't need error prone setup_code any more, moved Marc includes from code/include to lib/includeMarc
DAMASK_marcXXXX.f90 now is not a copy any more but contains one definition and an include statement

setup_code of spectral solver is now replaced by the standard 1) configure 2) make 3) make install
2013-04-22 14:41:33 +00:00
Martin Diehl 2a6f66d504 Abaqus explicit now with correct interface, seems to work now 2013-03-21 17:24:58 +00:00
Franz Roters 48e57fc3cb removed -save option from all compiler calls using openMP 2013-03-06 07:45:45 +00:00
Martin Diehl 80a20d5ea9 continuation of last commit 2013-02-01 13:22:40 +00:00
Martin Diehl 3ffd6499b1 change bash-only "let" to "`expr`", abaqus_v6.env now suppresses warnings about long lines (there are only comments anyway) 2013-01-28 15:30:51 +00:00
Franz Roters 41c5e43377 reduced optimization level to 01 as O2 gives the following runtime error:
/abaqus/6.12-2/code/bin/standard.exe: symbol lookup error: /tmp/f.roters_input_hbc_29668/libstandardU.so: undefined symbol: for_simd_random_number
2012-12-21 15:09:34 +00:00
Franz Roters 93a5a0be50 updated Marc/Mentat scripts
submit1 now usese O1 optimization
submit2 now usese O2 optimization
submit3 now usese O1 optimization plus openMP

added posibility to choose preferred editor in apply_DAMASK_modifications
2012-11-13 15:27:06 +00:00
Martin Diehl 339205c890 added missing quotes 2012-10-25 07:56:58 +00:00
Philip Eisenlohr 0e33725395 switched to general logic that branches locally depending on shell type.
now bash and csh derivatives should work.
2012-10-18 09:55:54 +00:00
Martin Diehl 71e1d4d5bb substituted old patched FFTW with new, now unpatched, version 2012-10-05 17:27:40 +00:00
Martin Diehl 48a9104b7e corrected fortran compile command and added comments on the compiler switches 2012-10-05 17:22:45 +00:00
Martin Diehl 73349d02f5 merged precision info into the file prec.f90 and removed prec_single.f90
precision information is now parsed as a makro, defined by the compiler, eg. -DFLOAT=8 for 8 byte long floats or -- in case no values is given -- for the FEM wrapper by the interface files.

Please don't forget to run setup_code.py  !!!!!!!!!!!

abaqus_v6.env is adjusted to specify the standard precision (float=8, int=4) and got some extra compilation options, some deprecated warning supressors are removed

Optional Marc modification will follow that allow automatic selection of suitable precision
2012-08-28 16:08:17 +00:00
Martin Diehl beda30302a setup_shellrc.py now creates .bashrc if no file for login startup information is found 2012-06-22 14:18:42 +00:00
Franz Roters 5923d6b413 changed default Marc version to 2012 2012-06-20 06:40:34 +00:00
Franz Roters 15c8a6b0ac FFTW is no longer needed for the FEM subroutine 2012-06-19 08:05:47 +00:00
Franz Roters 976564b74e modifications for Marc/Mentat2012 2012-06-13 07:32:20 +00:00
Franz Roters 1a96a9fbad now based on abq6111
now using ifort in $PATH
2012-05-16 06:57:37 +00:00
Franz Roters 93f311f2b9 now skips environment variables in comments, i.e. after '#' 2012-01-31 15:43:39 +00:00
Franz Roters 0b5a1a8925 removed some no longer used defaults
added library path for fftw
2012-01-17 08:37:09 +00:00
Philip Eisenlohr 37807ff6ca added reporting of files altered by the script 2012-01-11 17:30:27 +00:00
Philip Eisenlohr 7827364908 improved subtitution/deletion handling 2012-01-11 16:38:23 +00:00
Philip Eisenlohr c052e3d5d2 path to fftw3 lib is now set (hopefully, mandatory) with LD_LIBRARY_PATH (via setup_shellrc.py...) 2011-12-22 10:41:17 +00:00
Philip Eisenlohr 8535421429 killed obsolete "--heap-arrays" comment 2011-12-22 10:21:50 +00:00
Philip Eisenlohr b12c6672d6 corrected LD_LIBRARY_PATH processing of LAPACK and added FFTW to it. 2011-12-21 13:13:11 +00:00
Philip Eisenlohr 8bf3cc3a3f exchanged fftw3.3 source with patched one (now containing set_timelimit wrapper in api/f77funcs.h) 2011-12-21 12:48:20 +00:00
Franz Roters 0695bfd315 updated instructions 2011-12-21 09:35:47 +00:00
Franz Roters fcfc8d9402 corrected small syntax error 2011-12-20 13:58:30 +00:00
Franz Roters 34d56548ad corrected librarypath for fftw
removed fftw3_threads
2011-12-20 13:52:19 +00:00
Franz Roters ee3049b761 corrected syntax errors 2011-12-20 12:53:19 +00:00
Franz Roters 485ed3742c now aware of empty lines 2011-12-20 11:04:29 +00:00
Philip Eisenlohr 7dff3ba12c reworked script... 2011-12-20 10:52:58 +00:00
Philip Eisenlohr 2b42896ef6 added parsing of comments (# comment here...)
added "lib64" as possible location (sub-directory) for liblapack.a
2011-12-20 10:19:48 +00:00
Philip Eisenlohr 2b6cb3bd84 added linking option for FFTW.
which LAPACK installation is used can now be selected by switching on IKML, ACML, or LAPACK path (in that order of preference)

(multiuser environments now need to have system-wide installation locations for those libraries, since run_*_marc scripts are set once and for all to use them.)
2011-12-20 09:47:27 +00:00
Franz Roters c4a4c5cdca corrected error in apply_DAMASK_modifications
added support for Marc/Mentat2011 (classic)
2011-12-19 16:06:03 +00:00
Martin Diehl 031a00237f improved makefile, no directly linking to files of acml
corrected default pathinfo
improved test for intel compiler
2011-12-09 16:34:53 +00:00
Franz Roters 1f1046ecc5 removed option -heap arrays from all compiler calls use 'ulimit -s unlimited' on the command line instead 2011-12-01 08:54:26 +00:00
Philip Eisenlohr 4137d1f9af fixed stupid lower case typo in pathInfo assignment 2011-11-29 17:40:11 +00:00
Franz Roters 12bf99c2f9 removed option -extend_source from compile_fortran command definition as it also seems to influence allowed line length for free format files 2011-11-28 08:19:55 +00:00
Philip Eisenlohr db09a8b17a removed ACML from public part and adjusted install instructions accordingly. 2011-11-14 15:21:12 +00:00
Philip Eisenlohr 413805e589 now aware of ACMLpathinfo 2011-11-14 14:59:16 +00:00
Philip Eisenlohr eebb59d146 now environment vars are processed in known order. gracefully put own extensions to end of existing (e.g. PATH=$PATH:ourStuff) 2011-11-09 17:20:20 +00:00
Philip Eisenlohr 314caffc08 safe against partially matching envVars. pythonPath and Path for instance... 2011-11-09 16:41:44 +00:00
Claudio Zambaldi 41b8232695 setup_shellrc now adds $DAMASK_ROOT/bin to the $PATH
in setup/setup_processing.py uncomment 3 lines to remove the links from your ~/bin
2011-11-09 16:20:52 +00:00
Claudio Zambaldi 8e34309b6e renamed to .py so notepad++ users can have syntax highlighting 2011-11-09 13:31:59 +00:00
Philip Eisenlohr a66c502617 made it more flexible to future envVar additions and csh implementation... 2011-11-09 10:38:57 +00:00
Franz Roters 583abf7ee6 renamed script 2011-11-07 10:53:34 +00:00
Philip Eisenlohr 313cd2edb3 ACML path example now more realistic.
corrected dangerous overwriting of LD_LIBRARY_PATH and PYTHONPATH.
2011-11-04 15:42:52 +00:00
Philip Eisenlohr 1e35e98866 installation script to put correct LD_LIBRARY_PATH and PYTHONPATH into shell.rc 2011-11-03 17:35:47 +00:00
Philip Eisenlohr b9647b2584 moved parts into new "lib" folder 2011-11-03 13:21:11 +00:00
Philip Eisenlohr 9565852247 now checks file "processing/MSCpath" for predefined installdir.
now checks validity of user-specified install version.
2011-10-20 16:13:38 +00:00
Philip Eisenlohr 64499328d1 general renaming (space in former ACML path did not work) 2011-10-20 12:25:39 +00:00
Philip Eisenlohr c7c541f393 corrected typos and such 2011-09-13 15:57:58 +00:00
Franz Roters 60ef9d5ab0 updated installation instructions 2011-09-13 07:58:54 +00:00
Philip Eisenlohr d4e7d6e02f added $Id$ and some further comments 2011-08-26 07:29:55 +00:00
Franz Roters 92d7dcb3f4 added modfiles for Marc/Mentat2010.2
Marc/Mentat2010.2 is installed on msuws1 only right now, please test!
simply start metat2010.2 instead of mentat2010
2011-07-28 07:27:39 +00:00
Franz Roters f24da6dffe added comment on precompiling the subroutine into a library 2011-05-26 09:38:48 +00:00
Franz Roters e563d539a6 added openmp flag to compiler call 2011-05-19 22:46:09 +00:00
Philip Eisenlohr d366a53f4e probably installation is a better place for the abq.env file 2011-05-11 17:10:45 +00:00
Franz Roters a9774df43b added comment on need to install AMD Core Math Library 2011-04-13 09:06:58 +00:00
Franz Roters 1b3dba4113 added -fpp switch to all compiler calls to explicitly use the precompiler
removed -save from OpenMP compiler calls to use OpenMP auto behaviour
2011-03-28 12:18:15 +00:00
Franz Roters 8467c91dab moved setup scripts back to subdirs where they are needed 2011-03-22 15:42:53 +00:00
Franz Roters 8bef254be7 changed name to include *.py ending to make Windows file association work again 2011-03-21 11:58:24 +00:00
Philip Eisenlohr 1f0569230b new installation/setup dir to hold all top-level make_*-scripts 2011-03-11 09:20:37 +00:00
Franz Roters cdeb786721 added default path of ACML
BLAS now also works on msuws2
2011-02-14 15:03:45 +00:00
Franz Roters bf2082a15b marc run scripts now link against ACML (AMD Core Math Library) to enable use of BLAS routines
ACML has certainly to be installed first (currently on msuws1 only) and is included for this purpose
2011-02-14 14:25:16 +00:00
Franz Roters 4216a3e066 corrected name of include file 2010-11-24 07:55:08 +00:00
Franz Roters c07a91d19e removed -save option from the compile statement using OpenMP 2010-11-23 16:25:58 +00:00
Philip Eisenlohr af2437c0af removed hardwired installation directory from submitX scripts and added corresponding flexibility into make script 2010-08-17 21:22:24 +00:00
Philip Eisenlohr c7e5cb9806 reworked verbosity and structure of installation script 2010-07-30 19:39:54 +00:00
Philip Eisenlohr 5a0963fb81 added variable working dir (if apply_script is called from somewhere else) and made the script executable
why using "comp_user?*" instead of "comp_user*" ?? (@Franz...)
2010-05-06 14:17:53 +00:00
Franz Roters 4954228b3a forgot to change this file accordingly (main.msb revmoved) 2010-05-06 13:19:45 +00:00
Franz Roters f1950cacc9 corrected apply script
removed binary menu file, it is now created by the apply script
2010-05-06 13:17:28 +00:00
Franz Roters 383a36b226 added comment on reformating to common block files
added modifications necessary for running the subroutine with Marc/Mentat2010
2010-05-06 08:50:54 +00:00