diff --git a/CMakeLists.txt b/CMakeLists.txt index 32a74ec10f6d476e40fdec84625e3a7c4412e7ec..e8887b61bdacab876861be715a42d76b9a2cb885 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,3 @@ -# -# $Id: CMakeLists.txt 2645 2016-05-12 06:29:38Z boman $ -# - SET(PYMODULES parametricJob.py prmClasses.py prmClassesGui.py @@ -18,4 +14,3 @@ SET(PYSCRIPTS externalProgramPath.py INSTALL(FILES ${PYMODULES} DESTINATION .) INSTALL(PROGRAMS ${PYSCRIPTS} DESTINATION .) - diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 19e307187ac8b9abc086be686dc81b0f09523ef1..0000000000000000000000000000000000000000 --- a/LICENSE +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -(This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.) - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - {description} - Copyright (C) {year} {fullname} - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 - USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random - Hacker. - - {signature of Ty Coon}, 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! diff --git a/build_CUPyDO.sh b/build_CUPyDO.sh deleted file mode 100755 index a30d5baa382230c8cdbfd4dd96946ef036cc0419..0000000000000000000000000000000000000000 --- a/build_CUPyDO.sh +++ /dev/null @@ -1,525 +0,0 @@ -#!/bin/bash -# build CUPyDO and all related solvers / run ctest -# -# usage: build_CUPyDO.sh -b -j 2 : build (using 2 cores) -# build_CUPyDO.sh -b -t : build and test -# build_CUPyDO.sh -b -t -q : build and test (batch mode) - -# profile should be sourced if in batch mode -source ~/.profile -# bash: enable more errors -set -eu - -GEOGEN_VERSION=2.0.0 -SOL2_VERSION=3.2.2 -MODALI_VERSION=v2.0 -NATIVESOLID_VERSION=romain # v1.1 -PYBEAM_VERSION=master -VLM_VERSION=v2.0 -SU2_VERSION=fix_wrap_strong -PFEM3D_VERSION=v2.0.0 -# WAVES_VERSION=v2.2.2 # AttributeError: module 'flow' has no attribute 'F0PsPhiInf' -WAVES_VERSION=v2.1.1 -PFEM_VERSION=v1.19 -METAFOR_VERSION=v3492 -CUPYDO_VERSION=lacroix - -# Gmsh -# https://gmsh.info/ - -function get_last_Gmsh() -{ - if [ ! -d Gmsh ] ; then - echo "Gmsh: retrieving gmsh-git-Linux64-sdk.tgz" - wget -q https://gmsh.info/bin/Linux/gmsh-git-Linux64-sdk.tgz - tar -xzf gmsh-git-Linux64-sdk.tgz - mv gmsh-git-Linux64-sdk Gmsh - rm gmsh-git-Linux64-sdk.tgz - else - echo "Gmsh: found" - fi -} - -# geoGen (for VLM) -# https://github.com/acrovato/geoGen -# full python - -function get_geoGen() -{ - if [ ! -d geoGen ] ; then - echo "geoGen: retrieving geoGen ${GEOGEN_VERSION}" - wget -q https://github.com/acrovato/geoGen/archive/refs/tags/v${GEOGEN_VERSION}.tar.gz - tar -xf v${GEOGEN_VERSION}.tar.gz - mv geoGen-${GEOGEN_VERSION} geoGen - rm v${GEOGEN_VERSION}.tar.gz - else - echo "geoGen: found" - fi -} - -# sol2 (for PFEM3D) -# https://github.com/ThePhD/sol2 - -function build_sol2() # -{ - if [ ! -d sol2 ] ; then - echo "sol2: retrieving sol2 ${SOL2_VERSION}" - - SOL2_INSTALL_PREFIX=`pwd`/sol2 - - wget -q https://github.com/ThePhD/sol2/archive/refs/tags/v${SOL2_VERSION}.tar.gz - tar -xf v${SOL2_VERSION}.tar.gz - rm v${SOL2_VERSION}.tar.gz - - echo "sol2: building" - cd sol2-${SOL2_VERSION} - if [ -d build ] ; then - rm -rf build - fi - mkdir build - cd build - cmake .. -DCMAKE_INSTALL_PREFIX=${SOL2_INSTALL_PREFIX} #>sol2.cmake.log - cmake --build . --target install -- -j ${NCORES} #>sol2.build.log - cd ../.. - rm -rf sol2-${SOL2_VERSION} - else - echo "sol2: found" - fi -} - -# modali: Modal integrator for fluid-structure computations -# https://github.com/ulgltas/modali -# full python - no build - -function build_modali() -{ - if [ ! -d modali ] ; then - echo "modali: cloning modali ${MODALI_VERSION}" - git -c advice.detachedHead=false \ - clone --quiet \ - --branch ${MODALI_VERSION} \ - git@github.com:ulgltas/modali.git - else - echo "modali: already cloned" - fi -} - -# NativeSolid (RBM?) -# https://github.com/ulgltas/NativeSolid - -function build_NativeSolid() -{ - if [ ! -d NativeSolid ] ; then - echo "NativeSolid: cloning NativeSolid ${NATIVESOLID_VERSION}" - git -c advice.detachedHead=false \ - clone --quiet git@github.com:ulgltas/NativeSolid.git \ - --branch ${NATIVESOLID_VERSION} - else - echo "NativeSolid: already cloned" - fi - - # requires lapacke/cblas - # lapacke: (sudo apt install liblapacke-dev) - # cblas/blas: (sudo apt-get install libopenblas-dev) - - if [ ! -f ./NativeSolid/bin/TestCVector ] ; then - echo "NativeSolid: building" - cd NativeSolid - if [ -d build ] ; then - rm -rf build - fi - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=Release -Wno-dev .. #>NativeSolid.cmake.log - make -j ${NCORES} #>NativeSolid.make.log - cd ../.. - else - echo "NativeSolid: already built" - fi -} - -# pyBeam: -# https://github.com/pyBeam/pyBeam -# requires meson/ninja: sudo apt install meson - -function build_pyBeam() -{ - if [ ! -d pyBeam ] ; then - echo "pyBeam: cloning pyBeam" - git -c advice.detachedHead=false \ - clone --depth 1 --recursive \ - git@github.com:pyBeam/pyBeam.git \ - --branch ${PYBEAM_VERSION} - ver=$(python3 -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]\).*/\1\2/') - if [ "$ver" -gt "37" ]; then - # fix meson build file for python3.8 - # see https://github.com/mesonbuild/meson/issues/5629 - sed -i "s/dependency('python3')/dependency('python3-embed')/g" \ - pyBeam/meson.build - fi - else - echo "pyBeam: already cloned" - fi - - if [ ! -f pyBeam/build/bin/pyBeam.py ] ; then - echo "pyBeam: building" - cd pyBeam - if [ -d build ] ; then - rm -rf build - fi - mkdir build - meson build --prefix=$PWD/build - ninja -C build install - cd .. - else - echo "pyBeam: already installed" - fi -} - -# VLM -# https://github.com/ulgltas/VLM - -function build_VLM() -{ - if [ ! -d VLM ] ; then - echo "VLM: cloning VLM ${VLM_VERSION}" - git -c advice.detachedHead=false \ - clone --quiet \ - --branch ${VLM_VERSION} \ - git@github.com:ulgltas/VLM.git - else - echo "VLM: already cloned" - fi - - if [ ! -f VLM/bin/VLM ] ; then - echo "VLM: building" - cd VLM - if [ -d build ] ; then - rm -rf build - fi - mkdir build - cd build - cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release -DPYTHON_WRAPPER=ON .. - make -j ${NCORES} - make install - cd ../.. - else - echo "VLM: already built" - fi -} - -# SU2 -# https://github.com/ulgltas/SU2 - -function build_SU2() -{ - if [ ! -d SU2 ] ; then - echo "SU2: cloning SU2" - git clone --depth 1 git@github.com:ulgltas/SU2.git \ - --branch ${SU2_VERSION} - else - echo "SU2: srcs found" - fi - - if [ ! -f SU2/build/bin/SU2_CFD ] ; then - echo "SU2: building" - cd SU2 - export CXXFLAGS="-O3" - python3 meson.py setup build \ - -Denable-pywrapper=true \ - -Denable-cgns=false \ - -Denable-tecio=false \ - -Dwith-mpi=disabled \ - -Denable-tests=false \ - -Denable-autodiff=true \ - --prefix=$PWD/build - ./ninja -C build install - cd .. - else - echo "SU2: already installed" - fi -} - -# PFEM3D -# https://github.com/ImperatorS79/PFEM3D -# sudo apt install libcgal-dev liblua5.3-dev -# -# ctest runtime: needs slpp (lua parser for python) -# https://github.com/SirAnthony/slpp -# https://pypi.org/project/SLPP/ -# => sudo pip3 install slpp - -function build_PFEM3D() -{ - if [ ! -d PFEM3D ] ; then - echo "PFEM3D: cloning PFEM3D ${PFEM3D_VERSION}" - git -c advice.detachedHead=false \ - clone --quiet \ - --branch ${PFEM3D_VERSION} \ - git@github.com:ImperatorS79/PFEM3D.git - else - echo "PFEM3D: already cloned" - fi - - if [ ! -f PFEM3D/build/bin/pfem ] ; then - echo "PFEM3D: building" - BASE=`pwd` - export GMSH=${BASE}/Gmsh - export Sol2_DIR=${BASE}/sol2/lib/cmake/sol2/ - export PATH=${GMSH}/bin:${GMSH}/lib:${PATH} - export INCLUDE=${GMSH}/include:${INCLUDE} - export LIB=${GMSH}/lib:${LIB} - cd PFEM3D - if [ -d build ] ; then - rm -rf build - fi - mkdir build - cd build - cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release \ - -DUSE_SWIG=1 -DBUILD_TESTING=1 .. - make -j ${NCORES} - cp ${BASE}/Gmsh/lib/libgmsh.so bin/ - cd ../.. - else - echo "PFEM3D: already built" - fi -} - -# Waves -# https://gitlab.uliege.be/am-dept/waves - -function build_waves() -{ - if [ ! -d waves ] ; then - echo "waves: cloning waves ${WAVES_VERSION}" - git -c advice.detachedHead=false \ - clone --quiet \ - --branch ${WAVES_VERSION} \ - git@gitlab.uliege.be:am-dept/waves.git - else - echo "waves: already cloned" - fi - - if [ ! -f waves/build/bin/libwaves.so ] ; then - echo "waves: building" - cd waves - if [ -d build ] ; then - rm -rf build - fi - mkdir build - cd build - cmake -Wno-dev -C../CMake/disable-trilinos.cmake .. - make -j ${NCORES} - cd ../.. - else - echo "waves: already built" - fi -} - -# PFEM: -# https://gitlab.uliege.be/am-dept/PFEM - -function build_PFEM() -{ - if [ ! -d PFEM ] ; then - echo "PFEM: cloning PFEM ${PFEM_VERSION}" - git -c advice.detachedHead=false \ - clone --quiet \ - --branch ${PFEM_VERSION} \ - git@gitlab.uliege.be:am-dept/PFEM.git - else - echo "PFEM: already cloned" - fi - - if [ ! -f PFEM/build/bin/libpfem.so ] ; then - echo "PFEM: building" - cd PFEM - if [ -d build ] ; then - rm -rf build - fi - mkdir build - cd build - cmake -Wno-dev .. - make -j ${NCORES} - cd ../.. - else - echo "PFEM: already built" - fi -} - -# Metafor - -function build_Metafor() -{ - if [ ! -d Metafor ] ; then - mkdir Metafor - fi - cd Metafor - - # clone - if [ ! -d linuxbin ] ; then - echo "Metafor/linuxbin: cloning linuxbin" - git clone git@gitlab.uliege.be:am-dept/linuxbin.git - else - echo "Metafor/linuxbin: already cloned" - fi - - if [ ! -d oo_meta ] ; then - echo "Metafor/oo_meta: cloning oo_meta ${METAFOR_VERSION}" - git -c advice.detachedHead=false \ - clone --recursive --depth=1 \ - --branch ${METAFOR_VERSION} \ - git@gitlab.uliege.be:am-dept/MN2L/oo_meta.git - else - echo "Metafor/oo_meta: already cloned" - fi - - # build - if [ ! -f oo_metaB/bin/Metafor ] ; then - echo "Metafor/oo_meta: building" - if [ -d oo_metaB ] ; then - rm -rf oo_metaB - fi - mkdir oo_metaB - cd oo_metaB - cmake -Wno-dev -C ../oo_meta/CMake/ubuntu-CUPyDO.cmake ../oo_meta - make -j ${NCORES} - cd .. - else - echo "Metafor/oo_meta: already built" - fi - - cd .. -} - -function build_CUPyDO() -{ - if [ ! -d CUPyDO ] ; then - echo "CUPyDO: cloning CUPyDO ${CUPYDO_VERSION}" - git clone --branch ${CUPYDO_VERSION} \ - git@github.com:ulgltas/CUPyDO.git - else - echo "CUPyDO: already cloned" - fi - - if [ ! -f CUPyDO/ccupydo/_CCupydo.so ] ; then - echo "CUPyDO: building" - cd CUPyDO - if [ -d build ] ; then - rm -rf build - fi - mkdir build - cd build - cmake -Wno-dev -DWITH_MPI=OFF .. - make -j ${NCORES} - make install - cd ../.. - else - echo "CUPyDO: already built" - fi -} - -function do_build() -{ - # create CUPyDO main folder - if [ ! -d CUPyDO ] ; then - mkdir CUPyDO - fi - cd CUPyDO - - # build codes - get_last_Gmsh - get_geoGen - build_sol2 - build_modali - build_NativeSolid - build_pyBeam - build_VLM - build_SU2 - build_PFEM3D - build_waves - build_PFEM - build_Metafor - build_CUPyDO - - # leave CUPyDO main folder - cd .. -} - -function do_tests() -{ - echo "do_tests()..." - cd CUPyDO - cd CUPyDO/build - ctest -j ${NCORES} #2>&1 > ctest_stdout.txt - # output the last lines to stdout (useful for shortening mails) - #tail -n 50 ctest_stdout.txt - cd ../../.. - echo "done." -} - -function usage() -{ - echo "usage: $0 -b -j 2 : build (using 2 cores)" - echo " $0 -b -t : build and test" - echo " $0 -b -t -q : build and test (batch mode)" - exit 1 -} - -function go_batch() -{ - CMD_TXT="$0 -j ${NCORES}" - if [ "$DO_BUILD" = true ] ; then - CMD_TXT="$CMD_TXT -b" - fi - if [ "$DO_TESTS" = true ] ; then - CMD_TXT="$CMD_TXT -t" - fi - echo "starting script in batch mode:" - echo " $CMD_TXT" - echo $CMD_TXT | at now -m - exit 0 -} - -NCORES=`nproc --all` -RUNBATCH=false -DO_BUILD=false -DO_TESTS=false -DISPLAY_USAGE=true - -# -- args - -while getopts "j:hbtq" option -do - case $option in - j ) - NCORES=$OPTARG ;; - h ) - usage ;; - q ) - RUNBATCH=true ;; - b ) - DO_BUILD=true ; - DISPLAY_USAGE=false ;; - t ) - DO_TESTS=true ; - DISPLAY_USAGE=false ;; - * ) - echo "[getopts] Bad option: $option" ; exit 1 ;; - esac -done -shift $(($OPTIND - 1)) - -if [ "$RUNBATCH" = true ] ; then - go_batch -else - if [ "$DISPLAY_USAGE" = true ] ; then - usage - fi - if [ "$DO_BUILD" = true ] ; then - do_build - fi - if [ "$DO_TESTS" = true ] ; then - do_tests - fi -fi diff --git a/cfg/CentOs6/cmake.profile b/cfg/CentOs6/cmake.profile deleted file mode 100644 index c7b8d1f51efd4885a8c5cecce748bb4eba077214..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/cmake.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH "/opt/cmake/bin" diff --git a/cfg/CentOs6/comp.cfg b/cfg/CentOs6/comp.cfg deleted file mode 100644 index e11ce31210b9d928e669922616342cd8a14efaf7..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/comp.cfg +++ /dev/null @@ -1,5 +0,0 @@ -self.pars['CMAKELIST'].val='centos6.cmake' -self.pars['NB_TASKS'].val='6' -self.pars['NB_THREADS'].val='1' -self.pars['RUNMETHOD'].vals=['interactive','at','batch'] -self.pars['RUNMETHOD'].val='batch' diff --git a/cfg/CentOs6/compilers.bashrc b/cfg/CentOs6/compilers.bashrc deleted file mode 100644 index 325e1245524b2a5f6c08b8e5a110b029312912d3..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/compilers.bashrc +++ /dev/null @@ -1,7 +0,0 @@ -add2env PATH "/opt/gcc/bin" front -add2env LD_LIBRARY_PATH "/opt/gcc/lib64" front -# sinon cmake build avec /usr/bin/c++... -export CC=gcc -export CXX=g++ -export FC=gfortran - diff --git a/cfg/CentOs6/compilers.profile b/cfg/CentOs6/compilers.profile deleted file mode 100644 index e68f0686f38d93feb6170f8e3d110112fbebaa52..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/compilers.profile +++ /dev/null @@ -1,8 +0,0 @@ -add2env PATH "/opt/gcc/bin" front -add2env LD_LIBRARY_PATH "/opt/gcc/lib64" front - -# sinon cmake build avec /usr/bin/c++... -export CC=gcc -export CXX=g++ -export FC=gfortran - diff --git a/cfg/CentOs6/lagamine.profile b/cfg/CentOs6/lagamine.profile deleted file mode 100644 index 59c30b4c24c7f5f4b5160699395019e80df0c965..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/lagamine.profile +++ /dev/null @@ -1,3 +0,0 @@ -add2env LD_LIBRARY_PATH "/opt/lagamine/lib" -add2env LIB "/opt/lagamine/lib" -add2env INCLUDE "/opt/lagamine/include" diff --git a/cfg/CentOs6/launch.cfg b/cfg/CentOs6/launch.cfg deleted file mode 100644 index c920c191c7986eb3930491270c49cd0a6a3212b1..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/launch.cfg +++ /dev/null @@ -1,9 +0,0 @@ -self.pars['NB_THREADS'].val='4' -self.pars['NB_TASKS'].val='1' -self.pars['RUNMETHOD'].vals=['interactive','at','batch', 'sge'] -self.pars['RUNMETHOD'].val='sge' -self.pars['QUEUE'].val='defq' -self.pars['SGE_PE'].val='snode' -self.pars['SGEARGS'].val='' -self.pars['TIME'].val='0-1:00:00' -self.pars['MEMORY'].val='1000' diff --git a/cfg/CentOs6/matlab.profile b/cfg/CentOs6/matlab.profile deleted file mode 100644 index f391a0e7a093fc9ef70814eed4869a0b9fc14ec3..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/matlab.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH "/opt/MATLAB/R2012a/bin" diff --git a/cfg/CentOs6/mklTbb.profile b/cfg/CentOs6/mklTbb.profile deleted file mode 100644 index bbf0d790bfa4250384b5e01f7251a424e11ea2af..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/mklTbb.profile +++ /dev/null @@ -1,2 +0,0 @@ -. /opt/intel/mkl/bin/mklvars.sh intel64 -. /opt/intel/tbb/bin/tbbvars.sh intel64 diff --git a/cfg/CentOs6/mumps.profile b/cfg/CentOs6/mumps.profile deleted file mode 100644 index 57e0adabd33cd60503f6133f2c8fa4acd4e77105..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/mumps.profile +++ /dev/null @@ -1,3 +0,0 @@ -add2env LD_LIBRARY_PATH "/opt/mumps/lib" -add2env LIB "/opt/mumps/lib" -add2env INCLUDE "/opt/mumps/include" diff --git a/cfg/CentOs6/parasolid.profile b/cfg/CentOs6/parasolid.profile deleted file mode 100644 index d055d0f78139f957fa6b2abc6a095c60fc8f586f..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/parasolid.profile +++ /dev/null @@ -1,4 +0,0 @@ -add2env PATH "/opt/parasolid/shared_object" -add2env INCLUDE "/opt/parasolid" -add2env LIB "/opt/parasolid/shared_object" -export P_SCHEMA=/opt/parasolid/schema diff --git a/cfg/CentOs6/python.profile b/cfg/CentOs6/python.profile deleted file mode 100644 index 5c863d362934b6b9f9d1a2d6b6362446a96971c8..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/python.profile +++ /dev/null @@ -1,2 +0,0 @@ -add2env PATH "/opt/python/bin" front -add2env LD_LIBRARY_PATH "/opt/python/lib" front diff --git a/cfg/CentOs6/qt.profile b/cfg/CentOs6/qt.profile deleted file mode 100644 index cf036d1e4c45b320092c760db4f36de5d40fde35..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/qt.profile +++ /dev/null @@ -1,2 +0,0 @@ -add2env PATH "/opt/qt/bin" front -add2env LD_LIBRARY_PATH "/opt/qt/bin" front diff --git a/cfg/CentOs6/subversion.profile b/cfg/CentOs6/subversion.profile deleted file mode 100644 index 807b808e5596dfa45ca414993275c6034e6da209..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/subversion.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH "/opt/subversion-1.8.14/bin" front diff --git a/cfg/CentOs6/vtk.profile b/cfg/CentOs6/vtk.profile deleted file mode 100644 index 6b85d7fdd6176f1afc6003e46f89d19bab889c91..0000000000000000000000000000000000000000 --- a/cfg/CentOs6/vtk.profile +++ /dev/null @@ -1,2 +0,0 @@ -add2env LD_LIBRARY_PATH "/opt/vtk/lib/" -add2env PYTHON_PATH "/opt/vtk/lib/python2.7/site-packages" diff --git a/cfg/bonemine/PC.local.visiteur.ubuntu22.04.txt b/cfg/bonemine/PC.local.visiteur.ubuntu22.04.txt new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/cfg/clifton/comp.cfg b/cfg/clifton/comp.cfg index 9eb28702832a513011994e88c6d814cf72fe9316..907c8d24c602b47b61a3e44d49c385f3e9a8bce3 100644 --- a/cfg/clifton/comp.cfg +++ b/cfg/clifton/comp.cfg @@ -1,5 +1,5 @@ self.pars['CMAKELIST'].val='clifton.cmake' -self.pars['NB_TASKS'].val='12' +self.pars['NB_TASKS'].val='6' self.pars['NB_THREADS'].val='1' self.pars['RUNMETHOD'].vals=['interactive','at','batch',] self.pars['RUNMETHOD'].val='batch' diff --git a/cfg/clifton/launch.cfg b/cfg/clifton/launch.cfg index 42954536ad82b897ed29039391532746f8193064..12256a89f06c5501b848f3489ea602aed964e83d 100644 --- a/cfg/clifton/launch.cfg +++ b/cfg/clifton/launch.cfg @@ -1,4 +1,4 @@ -self.pars['NB_THREADS'].val='12' +self.pars['NB_THREADS'].val='6' self.pars['NB_TASKS'].val='1' self.pars['RUNMETHOD'].vals=['interactive','at','batch'] self.pars['RUNMETHOD'].val='batch' diff --git a/cfg/default/aliases.bashrc b/cfg/default/aliases.bashrc deleted file mode 100644 index 9cc8ef1e273a1a34157682f3260ee3215551b71c..0000000000000000000000000000000000000000 --- a/cfg/default/aliases.bashrc +++ /dev/null @@ -1 +0,0 @@ -alias verif='cd ~/dev/oo_meta/apps/verif' diff --git a/cfg/default/cvs.bashrc b/cfg/default/cvs.bashrc deleted file mode 100644 index 7f5adcc2dbe2eed7539e08beb540fb8a03a49c8e..0000000000000000000000000000000000000000 --- a/cfg/default/cvs.bashrc +++ /dev/null @@ -1,17 +0,0 @@ -# anciens raccourcis CVS - -REP_OE=tintin.ltas.ulg.ac.be:/disc/users/oofelie/Repository -REP_OO=gaston.ltas.ulg.ac.be:/accounts/oofelie/Repository -REP_MT=gaston.ltas.ulg.ac.be:/accounts/metafor/Repository - -CVS_RSH=ssh -export CVS_RSH - -function cvs_metafor_co -{ - cvs -d :ext:$USER@$REP_OO co -P -d oofelie oofelie-4; - cvs -d :ext:$USER@$REP_MT co -P -d oo_meta oo_meta-4; - cvs -d :ext:$USER@$REP_MT co -P oo_nda; - cvs -d :ext:$USER@$REP_MT co -P z_mesh; - cvs -d :ext:$USER@$REP_MT co -P stp2e; -} diff --git a/cfg/default/functions.bashrc b/cfg/default/functions.bashrc deleted file mode 100644 index 30bb21f9ce8cb1b7622b4d6cebae5ef4db24a71a..0000000000000000000000000000000000000000 --- a/cfg/default/functions.bashrc +++ /dev/null @@ -1,17 +0,0 @@ -function backup() -{ - ARC=backup-profile-bin.tar.gz - REP=`pwd` - cd ~ - rm -f $ARC - tar cf - .bashrc .profile .emacs bin | gzip > $ARC - echo "~/$ARC created." - cd $REP -} - -function bat() -{ - cd $HOME/dev - comp.py -} - diff --git a/cfg/default/svn_git.bashrc b/cfg/default/svn_git.bashrc deleted file mode 100644 index 919dfb256644607ef2b81bd8b6c43e8c02f1f84c..0000000000000000000000000000000000000000 --- a/cfg/default/svn_git.bashrc +++ /dev/null @@ -1,48 +0,0 @@ -# raccourcis SVN - -REP_MT=blueberry.ltas.ulg.ac.be/home/metafor/SVN -REP_MTLUB=blueberry.ltas.ulg.ac.be/home/metafor/SVN2 -REP_GIT=blueberry.ltas.ulg.ac.be:/home/metafor/GIT - -function oo_meta_co -{ - svn co svn+ssh://$USER@$REP_MT/oo_meta/trunk oo_meta -} - -function oo_nda_co -{ - svn co svn+ssh://$USER@$REP_MT/oo_nda/trunk oo_nda -} - -function keygen_co -{ - git clone $USER@$REP_GIT/keygen.git -} - -function mtsetup_co -{ - #git clone $USER@$REP_GIT/MetaforSetup.git - git clone git@gitlab.uliege.be:am-dept/MN2L/MetaforSetup.git -} - -function parasolid_co -{ - git clone git@gitlab.uliege.be:am-dept/MN2L/parasolid.git -} - -function linuxbin_co -{ - git clone git@github.com:ulgltas/linuxbin.git -} - -function metafor_co -{ - linuxbin_co - oo_meta_co - oo_nda_co - parasolid_co -} - - - - diff --git a/cfg/frontal3/launch.cfg b/cfg/frontal3/launch.cfg deleted file mode 100644 index 227f05a827e00b48baeaaa46f7ea9e3f78b032ac..0000000000000000000000000000000000000000 --- a/cfg/frontal3/launch.cfg +++ /dev/null @@ -1,14 +0,0 @@ -self.pars['MAIL_ADDR'].val='CanonicalEmailAdress' -self.pars['NB_TASKS'].val='1' -self.pars['NB_THREADS'].val='24' -self.pars['MULTITEST'].val=False -self.pars['LOCALDISK'].val=False -self.pars['TIME'].val='1:00:00' -self.pars['MEMORY'].val='1000' -self.pars['QUEUE'].val='main' -self.pars['PROJECT'].val='hpcwe' -self.pars['RUNMETHOD'].vals=['pbs',] -self.pars['RUNMETHOD'].val='pbs' -self.pars['MODEL'].vals=['auto','westemere','westmere_fat','westmere_xfat','ivyBridge','haswell_xfat',] -self.pars['MODEL'].val='auto' -self.pars['EXEC_NAME'].val='e:\\Dev64\\Offi\\linuxbin\\Metafor.exe' diff --git a/cfg/frontal3/ls_colors.bashrc b/cfg/frontal3/ls_colors.bashrc deleted file mode 100644 index 8971679c7e7904e7f42e7f204b9afea405770590..0000000000000000000000000000000000000000 --- a/cfg/frontal3/ls_colors.bashrc +++ /dev/null @@ -1,2 +0,0 @@ -LS_COLORS='di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36' -export LS_COLORS diff --git a/cfg/frontal3/modules.profile b/cfg/frontal3/modules.profile deleted file mode 100644 index 10c20b41899360435d620feea841005e3c6c97bb..0000000000000000000000000000000000000000 --- a/cfg/frontal3/modules.profile +++ /dev/null @@ -1,20 +0,0 @@ - -module load python/2.7 -module load swig/3.0.10/64/gcc/4.4.7 -module load compiler/gcc/6.4.0 -module load cmake/3.11.1/64/gcc/5.5.0 - -. /softs/intel/compilers_and_libraries_2018.5.274/linux/mkl/bin/mklvars.sh intel64 -. /softs/intel/compilers_and_libraries_2018.5.274/linux/tbb/bin/tbbvars.sh intel64 -. /softs/intel/compilers_and_libraries_2018.5.274/linux/bin/compilervars.sh intel64 -export INTEL_LICENSE_FILE=/softs/intel/licenses - -# sinon cmake prend /usr/bin/cc meme si gcc est dans le PATH! -export CC=gcc -export CXX=g++ -export FC=gfortran - -#icc -#export CC=$(which icc) -#export CXX=$(which icpc) -#export FC=$(which ifort) diff --git a/cfg/frontal3/mumps.profile b/cfg/frontal3/mumps.profile deleted file mode 100644 index e5765f5d13eab6b8d43c254bd8ccacc4a3a18aa6..0000000000000000000000000000000000000000 --- a/cfg/frontal3/mumps.profile +++ /dev/null @@ -1,4 +0,0 @@ -# mumps compile avec Pord et mklrt -add2env LD_LIBRARY_PATH "/projects/acad/hpcwe/softs/mumps/lib" front -add2env LIB "/projects/acad/hpcwe/softs/mumps/lib" front -add2env INCLUDE "/projects/acad/hpcwe/softs/mumps/include" front diff --git a/cfg/frontal3/python.profile b/cfg/frontal3/python.profile deleted file mode 100644 index f64a11d789efde2fb65bd46fe11e1959d2295789..0000000000000000000000000000000000000000 --- a/cfg/frontal3/python.profile +++ /dev/null @@ -1,4 +0,0 @@ -# python recompile (probleme avec la version recompilee en module) -add2env PATH "/projects/acad/hpcwe/softs/python/bin" front -add2env LD_LIBRARY_PATH "/projects/acad/hpcwe/softs/python/lib" front -add2env CMAKE_PREFIX_PATH "/projects/acad/hpcwe/softs/python" front diff --git a/cfg/spirou/compilers.bashrc b/cfg/fsa-spirou/compilers.bashrc similarity index 83% rename from cfg/spirou/compilers.bashrc rename to cfg/fsa-spirou/compilers.bashrc index 9655075107eac4c2acf3bdd2e939f0917a6b04bf..707fb5310cd5eb06ed4f22453af6ebffada7b0e3 100644 --- a/cfg/spirou/compilers.bashrc +++ b/cfg/fsa-spirou/compilers.bashrc @@ -20,6 +20,8 @@ # => duplicates are finally removed by loop.sh if [ -d /opt/intel ] ; then - . /opt/intel/mkl/bin/mklvars.sh intel64 - . /opt/intel/tbb/bin/tbbvars.sh intel64 + # . /opt/intel/mkl/bin/mklvars.sh intel64 + # . /opt/intel/tbb/bin/tbbvars.sh intel64 + . /opt/intel/oneapi/mkl/latest/env/vars.sh + . /opt/intel/oneapi/tbb/latest/env/vars.sh fi diff --git a/cfg/garfield/compilers.profile b/cfg/fsa-spirou/compilers.profile similarity index 83% rename from cfg/garfield/compilers.profile rename to cfg/fsa-spirou/compilers.profile index 47e39800223c0e0c05d8d2bfc5ccd3056985944c..1080b26777ebbbc07f48c1df78b8cceb458689a2 100644 --- a/cfg/garfield/compilers.profile +++ b/cfg/fsa-spirou/compilers.profile @@ -21,7 +21,9 @@ if [ -n "$BASH_VERSION" ]; then if [ -d /opt/intel ] ; then - . /opt/intel/mkl/bin/mklvars.sh intel64 - . /opt/intel/tbb/bin/tbbvars.sh intel64 + # . /opt/intel/mkl/bin/mklvars.sh intel64 + # . /opt/intel/tbb/bin/tbbvars.sh intel64 + . /opt/intel/oneapi/mkl/latest/env/vars.sh + . /opt/intel/oneapi/tbb/latest/env/vars.sh fi fi diff --git a/cfg/fsa-spirou/cuda.profile b/cfg/fsa-spirou/cuda.profile new file mode 100644 index 0000000000000000000000000000000000000000..a3382d80a2b1590f14829b576e57d810fea2d0ed --- /dev/null +++ b/cfg/fsa-spirou/cuda.profile @@ -0,0 +1,2 @@ +add2env PATH "/usr/local/cuda/bin" +add2env LD_LIBRARY_PATH "/usr/local/cuda/lib64" diff --git a/cfg/garfield/gmsh.profile b/cfg/fsa-spirou/gmsh.profile similarity index 59% rename from cfg/garfield/gmsh.profile rename to cfg/fsa-spirou/gmsh.profile index 412f3fcb47cd01cfd224b34e5ac684e0516fecd4..515e1fd2c989810ce3d119c5da3436a62621e659 100644 --- a/cfg/garfield/gmsh.profile +++ b/cfg/fsa-spirou/gmsh.profile @@ -1,3 +1,5 @@ add2env PATH "/opt/gmsh/bin" front add2env LD_LIBRARY_PATH "/opt/gmsh/lib" add2env PYTHONPATH "/opt/gmsh/lib" +add2env INCLUDE "/opt/gmsh/include" front +add2env LIB "/opt/gmsh/lib" front diff --git a/cfg/fsa-spirou/go.profile b/cfg/fsa-spirou/go.profile new file mode 100644 index 0000000000000000000000000000000000000000..8f694c48750173c1b634e21316825ec2bd203a1a --- /dev/null +++ b/cfg/fsa-spirou/go.profile @@ -0,0 +1 @@ +add2env PATH "/opt/go/bin" diff --git a/cfg/garfield/lagamine.profile b/cfg/fsa-spirou/lagamine.profile similarity index 100% rename from cfg/garfield/lagamine.profile rename to cfg/fsa-spirou/lagamine.profile diff --git a/cfg/spirou/lam3.bashrc b/cfg/fsa-spirou/lam3.bashrc similarity index 100% rename from cfg/spirou/lam3.bashrc rename to cfg/fsa-spirou/lam3.bashrc diff --git a/cfg/garfield/matlab.profile b/cfg/fsa-spirou/matlab.profile similarity index 100% rename from cfg/garfield/matlab.profile rename to cfg/fsa-spirou/matlab.profile diff --git a/cfg/spirou/metafor.profile b/cfg/fsa-spirou/metafor.profile similarity index 100% rename from cfg/spirou/metafor.profile rename to cfg/fsa-spirou/metafor.profile diff --git a/cfg/garfield/misc.bashrc b/cfg/fsa-spirou/misc.bashrc similarity index 100% rename from cfg/garfield/misc.bashrc rename to cfg/fsa-spirou/misc.bashrc diff --git a/cfg/garfield/mumps.profile b/cfg/fsa-spirou/mumps.profile similarity index 100% rename from cfg/garfield/mumps.profile rename to cfg/fsa-spirou/mumps.profile diff --git a/cfg/fsa-spirou/pandoc.profile b/cfg/fsa-spirou/pandoc.profile new file mode 100644 index 0000000000000000000000000000000000000000..1b7e585ba67bcb9a5d149bbe78e4630d6bfe1131 --- /dev/null +++ b/cfg/fsa-spirou/pandoc.profile @@ -0,0 +1 @@ +add2env PATH "$HOME/local/pandoc/bin" front diff --git a/cfg/garfield/parasolid.profile b/cfg/fsa-spirou/parasolid.profile similarity index 100% rename from cfg/garfield/parasolid.profile rename to cfg/fsa-spirou/parasolid.profile diff --git a/cfg/fsa-spirou/paraview.profile b/cfg/fsa-spirou/paraview.profile new file mode 100644 index 0000000000000000000000000000000000000000..41f1fea4294a226de34191fc9d3d2833b3d70077 --- /dev/null +++ b/cfg/fsa-spirou/paraview.profile @@ -0,0 +1 @@ +add2env PATH "/opt/paraview/bin" front diff --git a/cfg/garfield/samcef.profile b/cfg/fsa-spirou/samcef.profile similarity index 100% rename from cfg/garfield/samcef.profile rename to cfg/fsa-spirou/samcef.profile diff --git a/cfg/garfield/trilinos.profile b/cfg/fsa-spirou/trilinos.profile similarity index 68% rename from cfg/garfield/trilinos.profile rename to cfg/fsa-spirou/trilinos.profile index 45452e023edfd62c68c48b0d910e33d0ee34ea07..f18437744ff93959fa2d10d88685d0ef5bd02bfb 100644 --- a/cfg/garfield/trilinos.profile +++ b/cfg/fsa-spirou/trilinos.profile @@ -1,4 +1,4 @@ # Trilinos custom compile localement # (permet le FIND_PACKAGE(Trilinos) dans CMake) add2env CMAKE_PREFIX_PATH "/opt/trilinos" front -add2env PYTHONPATH "/opt/trilinos/lib/python3.6/site-packages" front +add2env PYTHONPATH "/opt/trilinos/lib/python3.1/site-packages" front diff --git a/cfg/default/zlocal.profile b/cfg/fsa-spirou/zlocal.profile similarity index 100% rename from cfg/default/zlocal.profile rename to cfg/fsa-spirou/zlocal.profile diff --git a/cfg/garfield/DynELA.profile b/cfg/garfield/DynELA.profile deleted file mode 100644 index 0d8744c9832b103bd725db85a272e8ae2f68a187..0000000000000000000000000000000000000000 --- a/cfg/garfield/DynELA.profile +++ /dev/null @@ -1,10 +0,0 @@ -# DynELA: http://pantale.free.fr/Recherche/DynELA.html - -if [ -d $HOME/dev/DynELA/DynELA ] ; then - export DynELA_ROOT=$HOME/dev/DynELA/DynELA - export DynELA_BIN=$DynELA_ROOT/bin - export DynELA_BASE=$DynELA_ROOT/sources - export DynELA_SAMPLES=$DynELA_ROOT/samples - export PATH=$PATH:$DynELA_BIN -fi - diff --git a/cfg/garfield/compilers.bashrc b/cfg/garfield/compilers.bashrc deleted file mode 100644 index 9655075107eac4c2acf3bdd2e939f0917a6b04bf..0000000000000000000000000000000000000000 --- a/cfg/garfield/compilers.bashrc +++ /dev/null @@ -1,25 +0,0 @@ -# Intel compiler and/or TBB/MKL -# -# EXPLANATIONS [RB]: -# In practise, the call to "compilervars.sh" or ("mklvars.sh", etc) sets PATH, LD_LIBRARY_PATH. -# If we want these variables to be set system-wide, it should be run in .profile -# -# BUT -# 1. the gnome display manager unset LD_LIBRARY_PATH -# -# 2. if the login shell is "dash", the script cannot be called -# (we cannot add an extra argument to a sourced script with dash). -# THEN -# => we call the scripts in both places (.bashrc & .profile) -# => the env is cleaned in "loop.sh", removing duplicates if the .profile was actually read by bash -# -# SPECIAL CASE: "at" job -# => the environment is OK and kept, but "LD_LIBRARY_PATH" is set to nothing by "at" -# => the .profile is then rerun manually in our scripts (with bash) -# should we run also .bashrc as LD_LIBRARY_PATH should be set here on systems with gnome? -# => duplicates are finally removed by loop.sh - -if [ -d /opt/intel ] ; then - . /opt/intel/mkl/bin/mklvars.sh intel64 - . /opt/intel/tbb/bin/tbbvars.sh intel64 -fi diff --git a/cfg/garfield/metafor.bashrc b/cfg/garfield/metafor.bashrc deleted file mode 100644 index 5ada172088dcc0d450222db079960c84f1ce5d5a..0000000000000000000000000000000000000000 --- a/cfg/garfield/metafor.bashrc +++ /dev/null @@ -1,4 +0,0 @@ -function mtfconfig -{ - cmake -C ../oo_meta/CMake/ubuntu.cmake ../oo_meta -} diff --git a/cfg/garfield/metafor.profile b/cfg/garfield/metafor.profile deleted file mode 100644 index 3fe8c1e1de6b4b0fa74cbb4791608142a0f3779f..0000000000000000000000000000000000000000 --- a/cfg/garfield/metafor.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH /home/$USER/dev/Metafor_master/oo_metaB/bin diff --git a/cfg/garfield/paraview.bashrc b/cfg/garfield/paraview.bashrc deleted file mode 100644 index 22720195a40104256eddb5cdcc221bc4724f082a..0000000000000000000000000000000000000000 --- a/cfg/garfield/paraview.bashrc +++ /dev/null @@ -1,2 +0,0 @@ -alias paraview='/opt/paraview/bin/paraview' -alias pvserver='/opt/paraview/bin/pvserver' diff --git a/cfg/garfield/pgi.bashrc b/cfg/garfield/pgi.bashrc deleted file mode 100644 index 9d5962c53ad0b6b1381a872928b8094e88c168c1..0000000000000000000000000000000000000000 --- a/cfg/garfield/pgi.bashrc +++ /dev/null @@ -1,8 +0,0 @@ -# PGI compiler - -if [ -d /opt/pgi ] ; then - add2env PGI "/opt/pgi" - add2env PATH "/opt/pgi/linux86-64/19.10/bin" front - add2env MANPATH "/opt/pgi/linux86-64/19.10/man" - add2env LM_LICENSE_FILE "/opt/pgi/license.dat" -fi diff --git a/cfg/garfield/python.profile b/cfg/garfield/python.profile deleted file mode 100644 index 67b3efbe880fbd161163c29043aea0d199a458df..0000000000000000000000000000000000000000 --- a/cfg/garfield/python.profile +++ /dev/null @@ -1,2 +0,0 @@ -# binaires ajoute par pip par exemple (pip lui-meme ou yapf) -add2env PATH "$HOME/.local/bin" front diff --git a/cfg/garfield/scilab.bashrc b/cfg/garfield/scilab.bashrc deleted file mode 100644 index 7ce1f3c82af0d14cf1a556c659d1334044e1ee3b..0000000000000000000000000000000000000000 --- a/cfg/garfield/scilab.bashrc +++ /dev/null @@ -1 +0,0 @@ -alias scilab='/opt/scilab/bin/scilab' diff --git a/cfg/garfield/siemens.profile b/cfg/garfield/siemens.profile deleted file mode 100644 index f33580939370a37e55f50e344b9e30a0002330da..0000000000000000000000000000000000000000 --- a/cfg/garfield/siemens.profile +++ /dev/null @@ -1,5 +0,0 @@ -export UGII_ROOT_DIR=/opt/ugs100/ugii -export UGII_BASE_DIR=/opt/ugs100 -export SPLM_LICENSE_SERVER=28000@pegase.ltas.ulg.ac.be -#export UGS_LICENSE_BUNDEL=.... (name of your license bundle. In my case, P1) -#export UGII_JAVA_HOME=/usr/lib/jvm/java-X-openjdk-amd64/jre/ where X stands for java version. diff --git a/cfg/garfield/vtk.profile b/cfg/garfield/vtk.profile deleted file mode 100644 index cb69d4c9381f54e82af191d63980fe11e6ae735b..0000000000000000000000000000000000000000 --- a/cfg/garfield/vtk.profile +++ /dev/null @@ -1,2 +0,0 @@ -# vtk custom compile localement -#add2env LD_LIBRARY_PATH "/usr/local/lib/vtk-5.10" diff --git a/cfg/gaston/oneApi.bashrc b/cfg/gaston/oneApi.bashrc index 0e8e36f622535c9f747cfe71949a6f9aa049e1df..b012e1cf016574a79a004081e7e1014f8b8c4d4f 100644 --- a/cfg/gaston/oneApi.bashrc +++ b/cfg/gaston/oneApi.bashrc @@ -3,7 +3,8 @@ # EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*") if [ -d /opt/intel ] ; then - . /opt/intel/oneapi/tbb/latest/env/vars.sh intel64 - . /opt/intel/oneapi/mkl/latest/env/vars.sh intel64 - #. /opt/intel/oneapi/compiler/latest/env/vars.sh intel64 + . /opt/intel/oneapi/tbb/2021.10.0/env/vars.sh intel64 + . /opt/intel/oneapi/mkl/2023.2.0/env/vars.sh intel64 + #. /opt/intel/oneapi/tbb/latest/env/vars.sh intel64 + #. /opt/intel/oneapi/mkl/latest/env/vars.sh intel64 fi diff --git a/cfg/gaston/oneApi.profile b/cfg/gaston/oneApi.profile index 0272e8b34d7501a47c2e1bf541a027193046c85c..8379b0a9a8c5f656946bf864a83ae5db5f76cf41 100644 --- a/cfg/gaston/oneApi.profile +++ b/cfg/gaston/oneApi.profile @@ -3,8 +3,8 @@ # EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*") if [ -d /opt/intel ] ; then - #. /opt/intel/oneapi/setvars.sh intel64 - . /opt/intel/oneapi/tbb/latest/env/vars.sh intel64 - . /opt/intel/oneapi/mkl/latest/env/vars.sh intel64 - #. /opt/intel/oneapi/compiler/latest/env/vars.sh intel64 + . /opt/intel/oneapi/tbb/2021.10.0/env/vars.sh intel64 + . /opt/intel/oneapi/mkl/2023.2.0/env/vars.sh intel64 + #. /opt/intel/oneapi/tbb/latest/env/vars.sh intel64 + #. /opt/intel/oneapi/mkl/latest/env/vars.sh intel64 fi diff --git a/cfg/hmem00/git.profile b/cfg/hmem00/git.profile deleted file mode 100644 index e98447133fda195dc895dc8957f958270db47c0a..0000000000000000000000000000000000000000 --- a/cfg/hmem00/git.profile +++ /dev/null @@ -1 +0,0 @@ -unset SSH_ASKPASS diff --git a/cfg/hmem00/modules.profile b/cfg/hmem00/modules.profile deleted file mode 100644 index d263785c26ec624e224fed59eebf61ff19b8d0fa..0000000000000000000000000000000000000000 --- a/cfg/hmem00/modules.profile +++ /dev/null @@ -1,2 +0,0 @@ -module load cmake python -module load intel/compiler diff --git a/cfg/maclam/cmake.profile b/cfg/maclam/cmake.profile deleted file mode 100644 index 732d4fefcca250f25745b96339da4e2bc869614b..0000000000000000000000000000000000000000 --- a/cfg/maclam/cmake.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH "/Applications/CMake.app/Contents/bin" diff --git a/cfg/maclam/eigen.profile b/cfg/maclam/eigen.profile deleted file mode 100644 index 9250efca255fa741853388a5965d1710e23f9987..0000000000000000000000000000000000000000 --- a/cfg/maclam/eigen.profile +++ /dev/null @@ -1 +0,0 @@ -add2env INCLUDE "/usr/local/eigen" diff --git a/cfg/maclam/gmsh.profile b/cfg/maclam/gmsh.profile deleted file mode 100644 index 3b40fed4ac916a89be382c976cdce297822b1634..0000000000000000000000000000000000000000 --- a/cfg/maclam/gmsh.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH "/Applications/Gmsh.app/Contents/MacOS" diff --git a/cfg/maclam/intel.profile b/cfg/maclam/intel.profile deleted file mode 100644 index 202314b4a5c96a5f906f474ddda0d7c311bf845e..0000000000000000000000000000000000000000 --- a/cfg/maclam/intel.profile +++ /dev/null @@ -1,5 +0,0 @@ -. /opt/intel/compilers_and_libraries/mac/mkl/bin/mklvars.sh intel64 -. /opt/intel/compilers_and_libraries/mac/tbb/bin/tbbvars.sh intel64 - -add2env DYLD_LIBRARY_PATH "/opt/intel/tbb/lib" -add2env DYLD_LIBRARY_PATH "/opt/intel/mkl/lib" diff --git a/cfg/maclam/lagamine.profile b/cfg/maclam/lagamine.profile deleted file mode 100644 index f8e4775f5d0074110bc831b07f445a947b427092..0000000000000000000000000000000000000000 --- a/cfg/maclam/lagamine.profile +++ /dev/null @@ -1,3 +0,0 @@ -add2env LD_LIBRARY_PATH "/opt/lagamine/lib" -add2env INCLUDE "/opt/lagamine/include" -add2env LIB "/opt/lagamine/lib" diff --git a/cfg/maclam/matlab.bashrc b/cfg/maclam/matlab.bashrc deleted file mode 100644 index 9a3e3519ad780451ab6a99254c91f5d85dbbcb69..0000000000000000000000000000000000000000 --- a/cfg/maclam/matlab.bashrc +++ /dev/null @@ -1 +0,0 @@ -alias matlab='/Applications/MATLAB_R2016b.app/bin/matlab' diff --git a/cfg/maclam/mumps.profile b/cfg/maclam/mumps.profile deleted file mode 100644 index 92cbf63189565601018b6cf438073035fe204ca0..0000000000000000000000000000000000000000 --- a/cfg/maclam/mumps.profile +++ /dev/null @@ -1,2 +0,0 @@ -add2env LIB "/opt/mumps/lib" -add2env INCLUDE "/opt/mumps/include" diff --git a/cfg/maclam/parasolid.profile b/cfg/maclam/parasolid.profile deleted file mode 100644 index e81e5c2ec96605be07683107faa95a4eda9444fb..0000000000000000000000000000000000000000 --- a/cfg/maclam/parasolid.profile +++ /dev/null @@ -1,3 +0,0 @@ -add2env PATH "/usr/local/parasolid/shared_object" -add2env INCLUDE "/usr/local/parasolid" -export P_SCHEMA=/usr/local/parasolid/schema diff --git a/cfg/maclam/paraview.bashrc b/cfg/maclam/paraview.bashrc deleted file mode 100644 index 66f336b70065b500e1cbd8f942afcc3fe1f2196a..0000000000000000000000000000000000000000 --- a/cfg/maclam/paraview.bashrc +++ /dev/null @@ -1 +0,0 @@ -alias paraview='/Applications/ParaView-5.3.0.app/Contents/MacOS/paraview' diff --git a/cfg/maclam/prompt.bashrc b/cfg/maclam/prompt.bashrc deleted file mode 100644 index e7e867df44087df61ec28f1452a82f7d1ccc41d2..0000000000000000000000000000000000000000 --- a/cfg/maclam/prompt.bashrc +++ /dev/null @@ -1,4 +0,0 @@ -export PS1="\[$(tput bold)\]\u@\h:\w$ \[$(tput sgr0)\]" - -# colour ls -alias ls='ls -G' \ No newline at end of file diff --git a/cfg/maclam/qt.profile b/cfg/maclam/qt.profile deleted file mode 100644 index 8b3bee070a5519d27f46ccc2c1b36f7e03ff6d3b..0000000000000000000000000000000000000000 --- a/cfg/maclam/qt.profile +++ /dev/null @@ -1,2 +0,0 @@ -add2env PATH "/opt/Qt/bin" -add2env DYLD_LIBRARY_PATH "/usr/Qt/lib" diff --git a/cfg/maclam/vscode.bashrc b/cfg/maclam/vscode.bashrc deleted file mode 100644 index 5cebe9d91202de40ae2438f3d5892f4e901be702..0000000000000000000000000000000000000000 --- a/cfg/maclam/vscode.bashrc +++ /dev/null @@ -1 +0,0 @@ -alias code='/Applications/Visual\ Studio\ Code.app/Contents/MacOS/Electron' diff --git a/cfg/maclam/vtk.profile b/cfg/maclam/vtk.profile deleted file mode 100644 index a8f5a46fd49109cb2be48240e666b934ecb34230..0000000000000000000000000000000000000000 --- a/cfg/maclam/vtk.profile +++ /dev/null @@ -1,3 +0,0 @@ -add2env PYTHONPATH "/opt/VTK/lib/python3.7/site-packages" -add2env DYLD_LIBRARY_PATH "/opt/VTK/lib" -add2env PATH "/opt/VTK/bin" diff --git a/cfg/spirou/compilers.profile b/cfg/spirou/compilers.profile deleted file mode 100644 index 47e39800223c0e0c05d8d2bfc5ccd3056985944c..0000000000000000000000000000000000000000 --- a/cfg/spirou/compilers.profile +++ /dev/null @@ -1,27 +0,0 @@ -# Intel compiler and/or TBB/MKL -# -# EXPLANATIONS [RB]: -# In practise, the call to "compilervars.sh" or ("mklvars.sh", etc) sets PATH, LD_LIBRARY_PATH. -# If we want these variables to be set system-wide, it should be run in .profile -# -# BUT -# 1. the gnome display manager unset LD_LIBRARY_PATH -# -# 2. if the login shell is "dash", the script cannot be called -# (we cannot add an extra argument to a sourced script with dash). -# THEN -# => we call the scripts in both places (.bashrc & .profile) -# => the env is cleaned in "loop.sh", removing duplicates if the .profile was actually read by bash -# -# SPECIAL CASE: "at" job -# => the environment is OK and kept, but "LD_LIBRARY_PATH" is set to nothing by "at" -# => the .profile is then rerun manually in our scripts (with bash) -# should we run also .bashrc as LD_LIBRARY_PATH should be set here on systems with gnome? -# => duplicates are finally removed by loop.sh - -if [ -n "$BASH_VERSION" ]; then - if [ -d /opt/intel ] ; then - . /opt/intel/mkl/bin/mklvars.sh intel64 - . /opt/intel/tbb/bin/tbbvars.sh intel64 - fi -fi diff --git a/cfg/spirou/gmsh.profile b/cfg/spirou/gmsh.profile deleted file mode 100644 index 412f3fcb47cd01cfd224b34e5ac684e0516fecd4..0000000000000000000000000000000000000000 --- a/cfg/spirou/gmsh.profile +++ /dev/null @@ -1,3 +0,0 @@ -add2env PATH "/opt/gmsh/bin" front -add2env LD_LIBRARY_PATH "/opt/gmsh/lib" -add2env PYTHONPATH "/opt/gmsh/lib" diff --git a/cfg/spirou/lagamine.profile b/cfg/spirou/lagamine.profile deleted file mode 100644 index f8e4775f5d0074110bc831b07f445a947b427092..0000000000000000000000000000000000000000 --- a/cfg/spirou/lagamine.profile +++ /dev/null @@ -1,3 +0,0 @@ -add2env LD_LIBRARY_PATH "/opt/lagamine/lib" -add2env INCLUDE "/opt/lagamine/include" -add2env LIB "/opt/lagamine/lib" diff --git a/cfg/spirou/matlab.profile b/cfg/spirou/matlab.profile deleted file mode 100644 index 0ff358894261fe6d720b2ad0368687cf5a7ce5f1..0000000000000000000000000000000000000000 --- a/cfg/spirou/matlab.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH "/opt/matlab/bin" diff --git a/cfg/spirou/misc.bashrc b/cfg/spirou/misc.bashrc deleted file mode 100644 index d3fa8f40d87fa6473db96d08edcb9a179181679f..0000000000000000000000000000000000000000 --- a/cfg/spirou/misc.bashrc +++ /dev/null @@ -1,3 +0,0 @@ -alias a2ps='a2ps --pro=color --line-numbers=5 --medium=A4' -alias plotdigitizer='java -Xmx256m -jar /opt/PlotDigitizer/PlotDigitizer.jar' -alias open='xdg-open' diff --git a/cfg/spirou/mumps.profile b/cfg/spirou/mumps.profile deleted file mode 100644 index ad17390d94f796fb907039697e3166b6acf00355..0000000000000000000000000000000000000000 --- a/cfg/spirou/mumps.profile +++ /dev/null @@ -1,3 +0,0 @@ -#add2env LD_LIBRARY_PATH "/opt/mumps/lib" -add2env LIB "/opt/mumps/lib" -add2env INCLUDE "/opt/mumps/include" diff --git a/cfg/spirou/parasolid.profile b/cfg/spirou/parasolid.profile deleted file mode 100644 index e24e2e80de8a8cf8b1f2a4f4ef7f632bb44dcb81..0000000000000000000000000000000000000000 --- a/cfg/spirou/parasolid.profile +++ /dev/null @@ -1,3 +0,0 @@ -add2env PATH "/opt/parasolid/shared_object" -add2env INCLUDE "/opt/parasolid" -export P_SCHEMA=/opt/parasolid/schema diff --git a/cfg/spirou/samcef.profile b/cfg/spirou/samcef.profile deleted file mode 100644 index 542f794364f83456411c6d441ab01eeed6620602..0000000000000000000000000000000000000000 --- a/cfg/spirou/samcef.profile +++ /dev/null @@ -1,10 +0,0 @@ -export SAM_ZONE=200000000 -add2env PATH "/opt/samcef" - -# pas besoin de definir LMS_LICENSE -# (deja defini dans "/opt/samcef/site" lors de l'install) - -# ----------------------------------------------------------- -# version "russe" -#add2env PATH "/opt/sfield/V8.5-01/Samcef-V151i8/lin/bin" -#export SAMTECH_LICENSE_FILE=/opt/sfield/V8.5-01/SAMTECH.lic \ No newline at end of file diff --git a/cfg/spring/lam3.profile b/cfg/spring/lam3.profile new file mode 100644 index 0000000000000000000000000000000000000000..d25fcba39de0360469e5274676359f8e88190bc6 --- /dev/null +++ b/cfg/spring/lam3.profile @@ -0,0 +1,3 @@ +add2env PATH "/opt/lam3/bin" front +add2env LD_LIBRARY_PATH "/opt/lam3/lib" +#add2env PYTHONPATH "/opt/gmsh/lib" diff --git a/cfg/warson/cmake.profile b/cfg/warson/cmake.profile deleted file mode 100644 index aa827bc444b3676e163d75670b55147543fe2e90..0000000000000000000000000000000000000000 --- a/cfg/warson/cmake.profile +++ /dev/null @@ -1,2 +0,0 @@ -# Trilinos requires cmake >= 3.10 -add2env PATH "/opt/cmake/bin" front diff --git a/cfg/warson/compilers.bashrc b/cfg/warson/compilers.bashrc deleted file mode 100644 index 2e502d83aaf2a9e1ed93294553f217acf51edbd4..0000000000000000000000000000000000000000 --- a/cfg/warson/compilers.bashrc +++ /dev/null @@ -1,7 +0,0 @@ -add2env PATH "/opt/gcc-9.4.0/bin" front -add2env LD_LIBRARY_PATH "/opt/gcc-9.4.0/lib64" front -# sinon cmake build avec /usr/bin/c++... -export CC=gcc -export CXX=g++ -export FC=gfortran - diff --git a/cfg/warson/compilers.profile b/cfg/warson/compilers.profile deleted file mode 100644 index 3e1604a097f470a8f845e11af0b71d86dcebfbc1..0000000000000000000000000000000000000000 --- a/cfg/warson/compilers.profile +++ /dev/null @@ -1,8 +0,0 @@ -add2env PATH "/opt/gcc-9.4.0/bin" front -add2env LD_LIBRARY_PATH "/opt/gcc-9.4.0/lib64" front - -# sinon cmake build avec /usr/bin/c++... -export CC=gcc -export CXX=g++ -export FC=gfortran - diff --git a/cfg/warson/eigen.profile b/cfg/warson/eigen.profile deleted file mode 100644 index 8477a380dbf5f7024156aec2f10df25e4ea6e524..0000000000000000000000000000000000000000 --- a/cfg/warson/eigen.profile +++ /dev/null @@ -1 +0,0 @@ -add2env INCLUDE "/opt/eigen/include/eigen3" diff --git a/cfg/warson/gmsh.profile b/cfg/warson/gmsh.profile index db85932a1f7db6db8f23bf46a7db4f99ea27f207..bc68515e729ec126fe560efc3a6fd8d84dda3207 100644 --- a/cfg/warson/gmsh.profile +++ b/cfg/warson/gmsh.profile @@ -1,5 +1,5 @@ -add2env PATH "/opt/gmsh/bin" front +add2env PATH "/opt/gmsh/bin" front +add2env INCLUDE "/opt/gmsh/include" front +add2env LIB "/opt/gmsh/lib" front add2env LD_LIBRARY_PATH "/opt/gmsh/lib" -add2env PYTHONPATH "/opt/gmsh/lib" -add2env INCLUDE "/opt/gmsh/include" -add2env LIB "/opt/gmsh/lib" +add2env PYTHONPATH "/opt/gmsh/lib" diff --git a/cfg/warson/intel.bashrc b/cfg/warson/intel.bashrc new file mode 100644 index 0000000000000000000000000000000000000000..d9b8d9fe00afca577c2c4fd17236e23f324d85de --- /dev/null +++ b/cfg/warson/intel.bashrc @@ -0,0 +1,8 @@ +# Intel compiler and/or TBB/MKL +# +# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*") + +if [ -d /opt/intel ] ; then + . /opt/intel/oneapi/tbb/latest/env/vars.sh intel64 + . /opt/intel/oneapi/mkl/latest/env/vars.sh intel64 +fi diff --git a/cfg/warson/intel.profile b/cfg/warson/intel.profile new file mode 100644 index 0000000000000000000000000000000000000000..5ae6ec08287093508e3038ddfbd3a1441075c0a6 --- /dev/null +++ b/cfg/warson/intel.profile @@ -0,0 +1,8 @@ +# Intel compiler and/or TBB/MKL +# +# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*") + +if [ -d /opt/intel ] ; then + . /opt/intel/oneapi/tbb/latest/env/vars.sh intel64 + . /opt/intel/oneapi/mkl/latest/env/vars.sh intel64 +fi diff --git a/cfg/warson/intelCommunity.bashrc b/cfg/warson/intel2019/intel.bashrc similarity index 60% rename from cfg/warson/intelCommunity.bashrc rename to cfg/warson/intel2019/intel.bashrc index 06b19829f74c80dfdd976ee5101827abd29d4a99..8560647907b75eac876295a514a4180e53d41373 100644 --- a/cfg/warson/intelCommunity.bashrc +++ b/cfg/warson/intel2019/intel.bashrc @@ -3,7 +3,7 @@ # EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*") if [ -d /opt/intel ] ; then - . /opt/intel/mkl/bin/mklvars.sh intel64 - . /opt/intel/tbb/bin/tbbvars.sh intel64 + . /opt/intel2019/mkl/bin/mklvars.sh intel64 + . /opt/intel2019/tbb/bin/tbbvars.sh intel64 fi export MKL_DEBUG_CPU_TYPE=5 diff --git a/cfg/warson/intelCommunity.profile b/cfg/warson/intel2019/intel.profile similarity index 64% rename from cfg/warson/intelCommunity.profile rename to cfg/warson/intel2019/intel.profile index 3e1712b61b2a5ce6663f92f7e136e05e370bb2fe..9862a22596eccb6f66140ff1a836d72f97fa7723 100644 --- a/cfg/warson/intelCommunity.profile +++ b/cfg/warson/intel2019/intel.profile @@ -4,8 +4,8 @@ if [ -n "$BASH_VERSION" ]; then if [ -d /opt/intel ] ; then - . /opt/intel/mkl/bin/mklvars.sh intel64 - . /opt/intel/tbb/bin/tbbvars.sh intel64 + . /opt/intel2019/mkl/bin/mklvars.sh intel64 + . /opt/intel2019/tbb/bin/tbbvars.sh intel64 fi fi export MKL_DEBUG_CPU_TYPE=5 diff --git a/cfg/warson/intel2019/mumps.profile b/cfg/warson/intel2019/mumps.profile new file mode 100644 index 0000000000000000000000000000000000000000..add06f65076ac54782c9d092cd63351345b99367 --- /dev/null +++ b/cfg/warson/intel2019/mumps.profile @@ -0,0 +1,3 @@ +add2env LD_LIBRARY_PATH "/opt/mumps-4.10.0-intel2019/lib" +add2env LIB "/opt/mumps-4.10.0-intel2019/lib" +add2env INCLUDE "/opt/mumps-4.10.0-intel2019/include" diff --git a/cfg/warson/intel2024/intel.bashrc b/cfg/warson/intel2024/intel.bashrc new file mode 100644 index 0000000000000000000000000000000000000000..d9b8d9fe00afca577c2c4fd17236e23f324d85de --- /dev/null +++ b/cfg/warson/intel2024/intel.bashrc @@ -0,0 +1,8 @@ +# Intel compiler and/or TBB/MKL +# +# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*") + +if [ -d /opt/intel ] ; then + . /opt/intel/oneapi/tbb/latest/env/vars.sh intel64 + . /opt/intel/oneapi/mkl/latest/env/vars.sh intel64 +fi diff --git a/cfg/warson/intel2024/intel.profile b/cfg/warson/intel2024/intel.profile new file mode 100644 index 0000000000000000000000000000000000000000..5ae6ec08287093508e3038ddfbd3a1441075c0a6 --- /dev/null +++ b/cfg/warson/intel2024/intel.profile @@ -0,0 +1,8 @@ +# Intel compiler and/or TBB/MKL +# +# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*") + +if [ -d /opt/intel ] ; then + . /opt/intel/oneapi/tbb/latest/env/vars.sh intel64 + . /opt/intel/oneapi/mkl/latest/env/vars.sh intel64 +fi diff --git a/cfg/warson/intel2024/mumps.profile b/cfg/warson/intel2024/mumps.profile new file mode 100644 index 0000000000000000000000000000000000000000..2e804bb9f82fb1ae0f7370e89dd2812d09ffa170 --- /dev/null +++ b/cfg/warson/intel2024/mumps.profile @@ -0,0 +1,3 @@ +add2env LD_LIBRARY_PATH "/opt/mumps-4.10.0/lib" +add2env LIB "/opt/mumps-4.10.0/lib" +add2env INCLUDE "/opt/mumps-4.10.0/include" diff --git a/cfg/warson/leanVTK.profile b/cfg/warson/leanVTK.profile new file mode 100644 index 0000000000000000000000000000000000000000..02bfbe93b89e19ea08e33f2a75c3565ae475c9e5 --- /dev/null +++ b/cfg/warson/leanVTK.profile @@ -0,0 +1 @@ +add2env PATH "/usr/local/lib/LeanVTK-1.0" diff --git a/cfg/warson/metafor.profile b/cfg/warson/metafor.profile deleted file mode 100644 index 3fe8c1e1de6b4b0fa74cbb4791608142a0f3779f..0000000000000000000000000000000000000000 --- a/cfg/warson/metafor.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH /home/$USER/dev/Metafor_master/oo_metaB/bin diff --git a/cfg/warson/mumps.profile b/cfg/warson/mumps.profile index 57e0adabd33cd60503f6133f2c8fa4acd4e77105..2e804bb9f82fb1ae0f7370e89dd2812d09ffa170 100644 --- a/cfg/warson/mumps.profile +++ b/cfg/warson/mumps.profile @@ -1,3 +1,3 @@ -add2env LD_LIBRARY_PATH "/opt/mumps/lib" -add2env LIB "/opt/mumps/lib" -add2env INCLUDE "/opt/mumps/include" +add2env LD_LIBRARY_PATH "/opt/mumps-4.10.0/lib" +add2env LIB "/opt/mumps-4.10.0/lib" +add2env INCLUDE "/opt/mumps-4.10.0/include" diff --git a/cfg/zen/eclipse.profile b/cfg/zen/eclipse.profile deleted file mode 100644 index 3861d00e21ad97cb45d411a21136f8fe2dfc8ddc..0000000000000000000000000000000000000000 --- a/cfg/zen/eclipse.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH "~/local/eclipse/cpp-mars/eclipse" diff --git a/cfg/zen/lammps.profile b/cfg/zen/lammps.profile deleted file mode 100644 index 348d0d9ed9c9acec4f311fa4a33a2e392bcf1910..0000000000000000000000000000000000000000 --- a/cfg/zen/lammps.profile +++ /dev/null @@ -1 +0,0 @@ -add2env PATH "~/dev/lammps/src" diff --git a/cfg/zen/pizza.bashrc b/cfg/zen/pizza.bashrc deleted file mode 100644 index 2a43c112e761c305eec1126814ca5b5cc7afc391..0000000000000000000000000000000000000000 --- a/cfg/zen/pizza.bashrc +++ /dev/null @@ -1,4 +0,0 @@ - -alias pizza='python -i ~/src/pizza/src/pizza.py' -alias pizza2='python -i ~/src/pizza2/src/pizza.py' - diff --git a/cfg/zen/vpn.bashrc b/cfg/zen/vpn.bashrc deleted file mode 100644 index 9240a75a94839a236ddedfa56030c23bd536e90f..0000000000000000000000000000000000000000 --- a/cfg/zen/vpn.bashrc +++ /dev/null @@ -1,3 +0,0 @@ - -alias vpn='sudo ~/src/openconnect-7.06/./openconnect --juniper vpn.ulg.ac.be' - diff --git a/comp.py b/comp.py index 3131cff16e1d154a3fed704193f098fae56797a3..4294d66ba2f39fa27b11ae5303dbf8cae5cc80fa 100755 --- a/comp.py +++ b/comp.py @@ -175,12 +175,12 @@ class CompJob(ParametricJob): ext = os.path.splitext(file)[1] if ext==".zip": # unzip the source and try to convert text files - cmd = 'unzip -a %s -x "*/.svn/*" >/dev/null' % file + cmd = 'unzip -a %s -x "*/.git/*" >/dev/null' % file sysOutput = os.system(cmd) if (sysOutput != 0): self.error("unable to unzip archive %s !" % file) - # no conversion for ".svn" database - cmd = 'unzip %s "*/.svn/*" >/dev/null' % file + # no conversion for ".git" database + cmd = 'unzip %s "*/.git/*" >/dev/null' % file sysOutput = os.system(cmd) if (sysOutput != 0): self.error("unable to unzip archive %s !" % file) @@ -283,9 +283,11 @@ class CompJob(ParametricJob): def checkResults(self): # pars indep os.chdir('oo_metaB/bin') print ("diff'ing results") + # cmd="%s battery.py diffTSC" % self.pars['PYTHONEXE'].val # <= future battery.py (using TSC) cmd="%s battery.py diff" % self.pars['PYTHONEXE'].val print ("checkResults: cmd = %s" % cmd) os.system(cmd) + # file='verif/%s-diffsTSC.html' % machineid() # <= future battery.py (using TSC) file='verif/%s-diffs.html' % machineid() print("verif file name = %s" % file) #self.mailhtml(file, "html report") diff --git a/externalProgramPath.py b/externalProgramPath.py index 6b169e8dee301d0a7537919b7b667cd676b0788d..f7565f992306776e79bc297b0a204b61e6d191c2 100755 --- a/externalProgramPath.py +++ b/externalProgramPath.py @@ -46,6 +46,11 @@ class ExtProgs(PRMSet): TextPRM(self.pars, 'LATEX', 'Latex', 'latex') TextPRM(self.pars, 'GHOSTSCRIPT', 'GhostScript', 'gs') TextPRM(self.pars, 'IMAGEMAGICK', 'Image Magick', 'convert') + # Arcelor + TextPRM(self.pars, 'LAM3', 'Lam3', 'lam3') + TextPRM(self.pars, 'TEC3', 'Tec3', 'tec3') + TextPRM(self.pars, 'XDONNEE', 'X-Donnee', 'xd') + else: # windows # Mesh generation TextPRM(self.pars, 'SAMCEF', 'Samcef', 'samcef.cmd') @@ -62,6 +67,11 @@ class ExtProgs(PRMSet): TextPRM(self.pars, 'GHOSTSCRIPT', 'GhostScript', 'gswin32c.exe') TextPRM(self.pars, 'IMAGEMAGICK', 'Image Magick', 'convert.exe') + # Arcelor + TextPRM(self.pars, 'LAM3', 'Lam3', 'lam3.exe') + TextPRM(self.pars, 'TEC3', 'Tec3', 'tec3.exe') + TextPRM(self.pars, 'XDONNEE', 'X-Donnee', 'xd.exe') + def checkValidity(self, key): if key not in self.pars : print("%s is not a valid external program key from externalProgramPath... "%key) @@ -96,6 +106,10 @@ class ExtProgs(PRMSet): PRMAction(self.actions, 'i', self.pars['GHOSTSCRIPT']) PRMAction(self.actions, 'j', self.pars['IMAGEMAGICK']) NoAction(self.actions) + PRMAction(self.actions, 'k', self.pars['LAM3']) + PRMAction(self.actions, 'l', self.pars['TEC3']) + PRMAction(self.actions, 'm', self.pars['XDONNEE']) + NoAction(self.actions) SaveAction(self.actions , 'S') QuitAction(self.actions , 'Q') diff --git a/externalProgramPathGui.pyw b/externalProgramPathGui.pyw index eb7beaf9a0aab098d944416e73ea26162db992d0..085a6bf8a0c7a5f38fc2dee786a6cd5f8983c920 100755 --- a/externalProgramPathGui.pyw +++ b/externalProgramPathGui.pyw @@ -111,6 +111,16 @@ class ExtProgsConfGui(QWidget): self.sf['GHOSTSCRIPT'] = ExeFileLine(self, grplay3, self.extProgPath.pars['GHOSTSCRIPT'], exeFileType, 1, 0, 4) self.sf['IMAGEMAGICK'] = ExeFileLine(self, grplay3, self.extProgPath.pars['IMAGEMAGICK'], exeFileType, 2, 0, 4) + # Outils Arcelor + self.arcelorGrpBox = QGroupBox("Arcelor Tools") + box.addWidget(self.arcelorGrpBox) + grplay4 = QGridLayout() + grplay4.setColumnStretch(2,1) + self.arcelorGrpBox.setLayout(grplay4) + self.sf['LAM3'] = ExeFileLine(self, grplay4, self.extProgPath.pars['LAM3'], exeFileType, 0, 0, 4) + self.sf['TEC3'] = ExeFileLine(self, grplay4, self.extProgPath.pars['TEC3'], exeFileType, 1, 0, 4) + self.sf['XDONNEE'] = ExeFileLine(self, grplay4, self.extProgPath.pars['XDONNEE'], exeFileType, 2, 0, 4) + def buildButtonFrame(self, box): # == Buttons Frame == butframe = QFrame() diff --git a/mtfLicense/spirou.lic b/mtfLicense/fsa-spirou.lic similarity index 100% rename from mtfLicense/spirou.lic rename to mtfLicense/fsa-spirou.lic diff --git a/mtfLicense/hmem.lic b/mtfLicense/hmem.lic deleted file mode 100644 index b74e877bf154cc5980c0b5659f985760022e9232..0000000000000000000000000000000000000000 --- a/mtfLicense/hmem.lic +++ /dev/null @@ -1 +0,0 @@ -646574612B0A060C031B13305B736D657470666F722024372D0F021B1900102D0F0C1703161174666F720D6574618D6F726D0C746166F4726D65E861666F176D657491666F7220657461C46F726D58746166C4726D659161666F826D65742C666F72CF657461596F726DBF746166E8726D658461666F3F6D6574C3666F72506574619C6F726DF97461669F726D653961666FD06D65745C666F72066574613F6F726D9574616622726D65D661666F4F6D657497666F7209657461966F726D28746166CD726D654961666FDD6D657452666F726D657461436F726D0174616692726D650461666FA16D657491666F7220657461C46F726D58746166C2726D653961666F826D65742C666F72CF6574615B6F726DC074616626726D658461666F3F6D6574C3666F7250657461D06F726D4C7461669F726D653961666FD06D65745C666F72C7657461E06F726D9574616622726D65D661666F4F6D6574CE666F729D657461966F726D28746166CD726D654961666FC66D657434666F729D6574612B6F726DC774616652726D65DF61666F856D657491666F7220657461C46F726D5874616695726D651261666F826D65742C666F72CF6574615B6F726DD3746166BB726D65EC61666F396D657480666F7207657461BA6F726D3D7461666F726D654461666F3A6D65743E666F7216657461F86F726D657461665F726D653C61666FA26D6574FD666F72E5657461666F726D5574616627726D652B61666F096D657429666F72C0697461 diff --git a/mtfLicense/nic4.lic b/mtfLicense/nic4.lic deleted file mode 100644 index 9f64c078b5e4ebad4040f78918047a1e91511ce1..0000000000000000000000000000000000000000 --- a/mtfLicense/nic4.lic +++ /dev/null @@ -1 +0,0 @@ -646574612B0A060C031B13305B736D657470666F722024372D0F021B1900102D0F0C17031611E0666F726D6574617B6F726D6C74616692726D65A861666F7B6D657419666F7228657461A26F726D9E746166D3726D650961666F726D65747C666F72646574619B6F726D8574616630726D657461666F6F6D657468666F7290657461B86F726DEE74616617726D653161666FB66D65749D666F72006574613E6F726D1D7461662A726D65B061666F8E6D65745D666F7268657461666F726D7874616666726D658961666FA56D6574D7666F726D6574617B6F726D6C74616692726D65A261666FA06D657461666F72706574616F6F726D98746166B1726D658E61666F0A6D657424666F72A96574619A6F726D5274616676726D657461666F6F6D657468666F7290657461B86F726DF274616617726D653161666FB66D65749D666F72026574619E6F726D6574616672726D657D61666F8F6D6574B9666F722E6574611E6F726D20746166AB726D658F61666FCF6D6574C2666F7215657461236F726DA174616693726D650461666F6D6D657461666F72706574616F6F726D98746166B9726D65C561666FF66D6574EE666F72046574619B6F726D43746166BC726D65F061666FFD6D657408666F7290657461406F726D1A746166EB726D65FB61666F1B6D65749C666F7264657461C76F726D6574616672726D657D61666F8F6D6574BC666F72AF657461666F726D7874616666726D658961666FAD6D65745E666F7215657461236F726DA174616693726D651861666F876D657461666F72706574616F6F726D98746166B4726D659A61666F726D65747C666F72646574619B6F726DB8746166B2726D657461666F6F6D657468666F7290657461BD6F726D9F7461666F726D656961666F7B6D65749C666F72B1657461F96F726D6574616672726D657D61666F8F6D6574BC666F7205657461666F726D7874616666726D658961666FA96D657484666F726D6574617B6F726D6C74616692726D65AD61666F746D6574E5666F72E26574610F6F726D987461667F726D656D61666F726D65747C666F72646574619B6F726DBD74616647726D657461666F6F6D657468666F7290657461BB6F726DFB7461666F726D656961666F7B6D65749C666F72BB657461AA6F726D6574616672726D657D61666F8F6D6574B9666F724F657461666F726D7874616666726D658961666FAA6D657472666F726D6574617B6F726D6C74616692726D65A961666FA66D657461666F72706574616F6F726D98746166B2726D65C261666F726D65747C666F72646574619B6F726DB874616633726D657461666F6F6D657468666F7290657461B06F726DBE7461666F726D656961666F7B6D65749C666F72B0657461DA6F726D1D7461662A726D65B061666F896D6574DC666F72CB6574611E6F726D20746166AB726D658D61666FB96D6574B8666F7215657461236F726DA174616696726D65B861666F7B6D657419666F7228657461A26F726D9E74616650726D659061666FF66D6574EE666F72046574619B6F726D2D74616680726D657461666F6F6D657468666F7290657461876F726DED7461666F726D656961666F7B6D65749C666F72B6657461F76F726D1D7461662A726D65B061666F8E6D65745D666F7244657461666F726D7874616666726D658961666FA96D6574D9666F726D6574617B6F726D6C74616692726D65AB61666F726D6574E5666F72E26574610F6F726D9874616650726D655D61666F0A6D657424666F72A96574619A6F726D5E746166D2726D650C61666F376D6574A5666F72916574615D6F726D0674616617726D653161666FB66D65749D666F7256657461BD6F726D6574616672726D657D61666F8F6D6574B7666F72A26574611E6F726D20746166AB726D658861666F496D6574B4666F72E9657461E96F726D0C74616692726D655061666FDA6D657419666F7228657461A26F726D9974616653726D655461666F0A6D657424666F72A96574619A6F726D597461667B726D657461666F6F6D657468666F7290657461BF6F726DB0746166EB726D65FB61666F1B6D65749C666F722D657461E46F726DE1746166E0726D651D61666F8F6D65746D666F7298657461E26F726DEA74616606726D658961666F626D65745B666F7215657461236F726DA174616696726D65B861666F236D657419666F7228657461A26F726D9974616654726D652061666F0A6D657424666F72A96574619D6F726DD9746166F7726D650C61666F376D6574A5666F72916574615C6F726DE07461666F726D656961666F7B6D65749C666F72B6657461106F726D6574616672726D657D61666F8F6D6574BC666F728B657461666F726D7874616666726D658961666FAC6D657411666F726D6574617B6F726D6C74616692726D65AA61666FD46D657419666F7228657461A26F726D9974616600726D65C761666F726D65747C666F72646574619B6F726DBB74616687726D650C61666F376D6574A5666F72916574615D6F726DD17461666F726D656961666F7B6D65749C666F72B3657461B06F726D1D7461662A726D65B061666F8E6D65740C666F7245657461666F726D7874616666726D658961666FAA6D65744A666F726D6574617B6F726D6C74616692726D65AC61666F5C6D657461666F72706574616F6F726D98746166B7726D656261666F0A6D657424666F72A96574619A6F726D0A746166D3726D650C61666F376D6574A5666F72916574615D6F726DA57461666F726D656961666F7B6D65749C666F72BB657461FF6F726DE1746166E0726D651D61666F8F6D65746E666F72EE6574611E6F726D20746166AB726D658861666F026D65746C666F72E9657461E96F726D0C74616692726D653A61666F2D6D6574E5666F72E26574610F6F726D987461662C726D655161666FF66D6574EE666F72046574619B6F726D6F7461662C726D657461666F6F6D657468666F7290657461B86F726D8E7461666F726D656961666F7B6D65749C666F72B1657461E26F726D6574616672726D657D61666F8F6D6574BC666F72DE657461666F726D7874616666726D658961666FAE6D6574C3666F7215657461236F726DA174616693726D651961666F436D657461666F72706574616F6F726D98746166B2726D65E161666F726D65747C666F72646574619B6F726DB8746166AA726D657461666F6F6D657468666F7290657461BB6F726D337461666F726D656961666F7B6D65749C666F72B0657461726F726D7D7461666C726D650761666F8D6D6574AA666F7289657461E26F726DEA74616606726D658961666F786D65748F666F72E9657461E96F726D0C74616692726D655A61666F8A6D6574E5666F72E26574610F6F726D987461663C726D651661666F0A6D657424666F72A96574619A6F726D5F74616681726D650C61666F376D6574A5666F7296657461DC6F726DA27461666F726D656961666F7B6D65749C666F72B16574618B6F726D1D7461662A726D65B061666F896D6574DA666F72C5657461666F726D7874616666726D658961666FAD6D657402666F726D6574617B6F726D6C74616692726D65A861666FB16D657419666F7228657461A26F726D9C74616641726D65FC61666FF66D6574EE666F72046574619B6F726D867461664F726D650C61666F376D6574A5666F72916574615A6F726D5774616617726D653161666FB66D65749D666F7200657461516F726D1D7461662A726D65B061666F8B6D6574AA666F728F657461E26F726DEA74616606726D658961666F966D6574D3666F726D6574617B6F726D6C74616692726D65A961666F086D657461666F72706574616F6F726D98746166B3726D657461666F726D65747C666F72646574619B6F726DB8746166F4726D657461666F6F6D657468666F7290657461BB6F726DE674616617726D653161666FB66D65749A666F72D0657461C66F726D6574616672726D657D61666F8F6D6574BD666F72BF657461666F726D7874616666726D658961666FAC6D6574F5666F726D6574617B6F726D6C74616692726D65AB61666F306D657455666F727A6574618D6F726D817461660A726D65F461666F466D657476666F7286657461826F726D0074616686726D654061666F656D65748A666F7289657461036F726DA07461665B726D656361666F996D657485666F720F657461B56F726D5174616678726D659F61666F966D657407666F7274657461526F726D7274616684726D659061666F176D6574B6666F7259657461716F726D8E7461668B726D651761666F126D657455666F727A6574618D6F726D817461660D726D658E61666FE26D6574D0666F72716574612A6F726D30746166D3726D657474666F diff --git a/mtfLicense/spring.lic b/mtfLicense/spring.lic new file mode 100644 index 0000000000000000000000000000000000000000..8645502e746a6200c2296a256f768e0ad5925058 --- /dev/null +++ b/mtfLicense/spring.lic @@ -0,0 +1 @@ +646574612B0A060C031B13305B736D657470666F722024372D0F021B1900102D0F0C1703161160666F72CD657461506F726DD9746166C6726D65EA61666F7D6D6574D96E6F72 diff --git a/svn/config b/svn/config deleted file mode 100644 index 1b6b46767552352bd215bb1c1058764c32edb428..0000000000000000000000000000000000000000 --- a/svn/config +++ /dev/null @@ -1,194 +0,0 @@ -### This file configures various client-side behaviors. -### -### The commented-out examples below are intended to demonstrate -### how to use this file. - -### Section for authentication and authorization customizations. -[auth] -### Set password stores used by Subversion. They should be -### delimited by spaces or commas. The order of values determines -### the order in which password stores are used. -### Valid password stores: -### gnome-keyring (Unix-like systems) -### kwallet (Unix-like systems) -### keychain (Mac OS X) -### windows-cryptoapi (Windows) -# password-stores = windows-cryptoapi -### To disable all password stores, use an empty list: -# password-stores = -### -### The rest of the [auth] section in this file has been deprecated. -### Both 'store-passwords' and 'store-auth-creds' can now be -### specified in the 'servers' file in your config directory -### and are documented there. Anything specified in this section -### is overridden by settings specified in the 'servers' file. -# store-passwords = no -# store-auth-creds = no - -### Section for configuring external helper applications. -[helpers] -### Set editor-cmd to the command used to invoke your text editor. -### This will override the environment variables that Subversion -### examines by default to find this information ($EDITOR, -### et al). -# editor-cmd = editor (vi, emacs, notepad, etc.) -### Set diff-cmd to the absolute path of your 'diff' program. -### This will override the compile-time default, which is to use -### Subversion's internal diff implementation. -# diff-cmd = diff_program (diff, gdiff, etc.) -### Diff-extensions are arguments passed to an external diff -### program or to Subversion's internal diff implementation. -### Set diff-extensions to override the default arguments ('-u'). -# diff-extensions = -u -p -### Set diff3-cmd to the absolute path of your 'diff3' program. -### This will override the compile-time default, which is to use -### Subversion's internal diff3 implementation. -# diff3-cmd = diff3_program (diff3, gdiff3, etc.) -### Set diff3-has-program-arg to 'yes' if your 'diff3' program -### accepts the '--diff-program' option. -# diff3-has-program-arg = [yes | no] -### Set merge-tool-cmd to the command used to invoke your external -### merging tool of choice. Subversion will pass 5 arguments to -### the specified command: base theirs mine merged wcfile -# merge-tool-cmd = merge_command - -### Section for configuring tunnel agents. -[tunnels] -### Configure svn protocol tunnel schemes here. By default, only -### the 'ssh' scheme is defined. You can define other schemes to -### be used with 'svn+scheme://hostname/path' URLs. A scheme -### definition is simply a command, optionally prefixed by an -### environment variable name which can override the command if it -### is defined. The command (or environment variable) may contain -### arguments, using standard shell quoting for arguments with -### spaces. The command will be invoked as: -### <command> <hostname> svnserve -t -### (If the URL includes a username, then the hostname will be -### passed to the tunnel agent as <user>@<hostname>.) If the -### built-in ssh scheme were not predefined, it could be defined -### as: -# ssh = $SVN_SSH ssh -q -### If you wanted to define a new 'rsh' scheme, to be used with -### 'svn+rsh:' URLs, you could do so as follows: -# rsh = rsh -### Or, if you wanted to specify a full path and arguments: -# rsh = /path/to/rsh -l myusername -### On Windows, if you are specifying a full path to a command, -### use a forward slash (/) or a paired backslash (\\) as the -### path separator. A single backslash will be treated as an -### escape for the following character. - -### Section for configuring miscelleneous Subversion options. -[miscellany] -### Set global-ignores to a set of whitespace-delimited globs -### which Subversion will ignore in its 'status' output, and -### while importing or adding files and directories. -### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'. -# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo -# *.rej *~ #*# .#* .*.swp .DS_Store -### Set log-encoding to the default encoding for log messages -# log-encoding = latin1 -### Set use-commit-times to make checkout/update/switch/revert -### put last-committed timestamps on every file touched. -# use-commit-times = yes -### Set no-unlock to prevent 'svn commit' from automatically -### releasing locks on files. -# no-unlock = yes -### Set mime-types-file to a MIME type registry file, used to -### provide hints to Subversion's MIME type auto-detection -### algorithm. -# mime-types-file = /path/to/mime.types -### Set preserved-conflict-file-exts to a whitespace-delimited -### list of patterns matching file extensions which should be -### preserved in generated conflict file names. By default, -### conflict files use custom extensions. -# preserved-conflict-file-exts = doc ppt xls od? -### Set enable-auto-props to 'yes' to enable automatic properties -### for 'svn add' and 'svn import', it defaults to 'no'. -### Automatic properties are defined in the section 'auto-props'. -enable-auto-props = yes -### Set interactive-conflicts to 'no' to disable interactive -### conflict resolution prompting. It defaults to 'yes'. -# interactive-conflicts = no -### Set memory-cache-size to define the size of the memory cache -### used by the client when accessing a FSFS repository via -### ra_local (the file:// scheme). The value represents the number -### of MB used by the cache. -# memory-cache-size = 16 - -### Section for configuring automatic properties. -[auto-props] -### The format of the entries is: -### file-name-pattern = propname[=value][;propname[=value]...] -### The file-name-pattern can contain wildcards (such as '*' and -### '?'). All entries which match (case-insensitively) will be -### applied to the file. Note that auto-props functionality -### must be enabled, which is typically done by setting the -### 'enable-auto-props' option. -# *.c = svn:eol-style=native -# *.cpp = svn:eol-style=native -# *.h = svn:keywords=Author Date Id Rev URL;svn:eol-style=native -# *.dsp = svn:eol-style=CRLF -# *.dsw = svn:eol-style=CRLF -# *.sh = svn:eol-style=native;svn:executable -# *.txt = svn:eol-style=native;svn:keywords=Author Date Id Rev URL; -# *.png = svn:mime-type=image/png -# *.jpg = svn:mime-type=image/jpeg -# Makefile = svn:eol-style=native - -# *** Sources -*.c = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.cpp = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.h = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.hpp = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.inl = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.i = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.t = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.py = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.dat = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.hpp = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.swg = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.m = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.txt = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.ascii = svn:eol-style=native;svn:mime-type=text/plain -*.ui = svn:eol-style=native;svn:mime-type=text/plain -*.qrc = svn:eol-style=native;svn:mime-type=text/plain -*.l = svn:eol-style=native;svn:mime-type=text/plain -*.y = svn:eol-style=native;svn:mime-type=text/plain -*.pro = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.cmake = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.tex = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.bib = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.sty = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.cls = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -# *** Dos only! -*.dsp = svn:eol-style=CRLF -*.dsw = svn:eol-style=CRLF -*.slm = svn:eol-style=CRLF -*.vcproj = svn:eol-style=CRLF -*.bat = svn:eol-style=CRLF -*.rc = svn:eol-style=CRLF -# *** Unix only! -*.sh = svn:eol-style=LF;svn:keywords=Id;svn:executable;svn:mime-type=application/x-sh -Makefile* = svn:eol-style=LF;svn:keywords=Id -install-sh = svn:eol-style=LF -*.m4 = svn:eol-style=LF -*.ac = svn:eol-style=LF;svn:keywords=Id -# *** Data -*.png = svn:mime-type=image/png -*.jpg = svn:mime-type=image/jpeg -*.stp = svn:mime-type=application/STEP;svn:eol-style=native -*.CPE = svn:eol-style=native;svn:mime-type=text/plain -*.CRE = svn:eol-style=native;svn:mime-type=text/plain -*.eps = svn:mime-type=application/postscript -# *** bacon -*.fdb = svn:eol-style=native;svn:mime-type=text/plain -# *** Scilab -*.sci = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -*.sce = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain -#*** Parasolid -*.xmt_txt = svn:eol-style=native;svn:mime-type=text/plain -*.x_t = svn:eol-style=native;svn:mime-type=text/plain -# *** Misc -*.pgsa = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain - diff --git a/updatebin.sh b/updatebin.sh deleted file mode 100755 index 936a0755950ae07904470dff6555f502798df533..0000000000000000000000000000000000000000 --- a/updatebin.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -echo "===== updating local bin..." -cd ~/bin ; git pull -echo "===== updating blueberry..." -ssh blueberry 'cd ~/bin ; git pull' -echo "===== updating thorgal..." -ssh thorgal 'cd ~/bin ; git pull' -echo "===== updating fabulous..." -ssh fabulous 'module load git ; cd ~/bin ; git pull' -echo "===== updating spring..." -ssh spring 'cd ~/bin ; git pull' -echo "===== updating gaston..." -ssh gaston 'cd ~/bin ; git pull' -echo "===== updating warson..." -ssh warson 'cd ~/bin ; git pull' -echo "===== updating vaillant..." -ssh vaillant 'cd ~/bin ; git pull' -echo "===== done." diff --git a/vim/.vimrc b/vim/.vimrc deleted file mode 100644 index d13f740f164835760f8f840f1210e5ffe6f351f9..0000000000000000000000000000000000000000 --- a/vim/.vimrc +++ /dev/null @@ -1,186 +0,0 @@ -" .vimrc -" from -" https://github.com/erkrnt/awesome-streamerrc/blob/master/ThePrimeagen/.vimrc -" http://vim.fisadev.com - -" ============================================================================ -" Vim-plug initialization -" Avoid modifying this section, unless you are very sure of what you are doing - -let vim_plug_just_installed = 0 -let vim_plug_path = expand('~/.vim/autoload/plug.vim') -if !filereadable(vim_plug_path) - echo "Installing Vim-plug..." - echo "" - silent !mkdir -p ~/.vim/autoload - silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - let vim_plug_just_installed = 1 -endif - -" manually load vim-plug the first time -if vim_plug_just_installed - :execute 'source '.fnameescape(vim_plug_path) -endif -" ============================================================================ - -" ---- PLUGINS ---------------------------------------------------------------- -" -" https://github.com/junegunn/vim-plug -" install plugins with :PlugInstall -" clean unused plugins :PlugClean -" -call plug#begin('~/.vim/plugged') - -Plug 'morhetz/gruvbox' " color scheme -"Plug 'tpope/vim-fugitive' " git integration -"Plug 'lyuts/vim-rtags' " C++ -"Plug 'ycm-core/YouCompleteMe' -"Plug 'mbbill/undotree' - - -" Airline (status bar on the bottom) -Plug 'vim-airline/vim-airline' -Plug 'vim-airline/vim-airline-themes' - -call plug#end() -" ----------------------------------------------------------------------------- - - -" ============================================================================ -" Install plugins the first time vim runs -if vim_plug_just_installed - echo "Installing Bundles, please ignore key map error messages" - :PlugInstall -endif -" ============================================================================ - - -" mouse -set mouse-=a " disable custom mouse in vim (so that we can select -"if has("mouse") -" set mouse=a " control cursor with the mouse -"endif - -syntax on " syntax highlighting - - -" hides buffers instead of closing them. This means that you can have unwritten -" changes to a file and open a new file using :e, without being forced to write -" or undo your changes first -"set hidden - -"set nocompatible " useless - -set visualbell -set noerrorbells " no sounds - -set tabstop=4 " size of tabs (set ts=4 also works) -set shiftwidth=4 " indent using '>' uses 4 spaces -set softtabstop=4 -set expandtab " tabs => spaces -set smartindent -"set number " line numbers (set nu) -set nowrap " no wrapping of long lines - -set noswapfile -set nobackup " because undodir/undofile -if has('persistent_undo') - set undodir=~/.vim/undodir - set undofile - if !isdirectory(&undodir) - call mkdir(&undodir, "p") - endif -endif - -set hlsearch " highlight search terms -set incsearch " incremental search -set ignorecase -set smartcase " ignore case if search pattern is all lowercase, - " case-sensitive otherwise - -set cmdheight=2 " more space for displaying msgs - -" when scrolling, keep cursor 3 lines away from screen border -set scrolloff=3 - - - -" colours/theme -set background=dark - -" use 256 colors when possible -if has('gui_running') || (&term =~? 'mlterm\|xterm\|xterm-256\|screen-256') - if !has('gui_running') - let &t_Co = 256 - endif - colorscheme gruvbox - "colorscheme desert "moche -else - colorscheme delek "tres moche -endif - - -set cursorline " highlight the line of the cursor -if exists("&colorcolumn") - set colorcolumn=80 " highlight column #80 -endif -highlight CorlorColumn ctermbg=0 guibg=lightgrey -" highlight text beyond column 80 -highlight OverLength ctermbg=71 ctermfg=white guibg=#592929 -match OverLength /\%81v.\+/ - - -" the default file browser in vim is netrw (cmd :Explore) -" https://shapeshed.com/vim-netrw/ -let g:netrw_banner = 0 " remove banner (key `I`) -let g:netrw_browse_split = 2 " open files in a new vertical split -let g:netrw_winsize = 25 " sets the width to 25% of the page -let g:netrw_liststyle = 3 " default list style (key `i`) - - - -" defines a `leader key` for custom shortcuts -let mapleader=" " - -" REMAPs - -" move cursor to other splits -nnoremap <leader>h :wincmd h<CR> -nnoremap <leader>j :wincmd j<CR> -nnoremap <leader>k :wincmd k<CR> -nnoremap <leader>l :wincmd l<CR> -" open explorer -nnoremap <leader>pv :wincmd v<bar> :Ex <bar> :vertical resize 30<CR> -" resize splits -nnoremap <silent> <Leader>+ :vertical resize +5<CR> -nnoremap <silent> <Leader>- :vertical resize -5<CR> - - - - - - - -" Remove newbie crutches in Command Mode -"cnoremap <Down> <Nop> -"cnoremap <Left> <Nop> -"cnoremap <Right> <Nop> -"cnoremap <Up> <Nop> - -" Remove newbie crutches in Insert Mode -"inoremap <Down> <Nop> -"inoremap <Left> <Nop> -"inoremap <Right> <Nop> -"inoremap <Up> <Nop> - -" Remove newbie crutches in Normal Mode -"nnoremap <Down> <Nop> -"nnoremap <Left> <Nop> -"nnoremap <Right> <Nop> -"nnoremap <Up> <Nop> - -" Remove newbie crutches in Visual Mode -"vnoremap <Down> <Nop> -"vnoremap <Left> <Nop> -"vnoremap <Right> <Nop> -"vnoremap <Up> <Nop>