Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
documentation
website
Commits
d0fad11e
Commit
d0fad11e
authored
4 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
https
parent
517f099c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#7656
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bundle_onelab.sh
+24
-24
24 additions, 24 deletions
bundle_onelab.sh
with
24 additions
and
24 deletions
bundle_onelab.sh
+
24
−
24
View file @
d0fad11e
...
...
@@ -3,7 +3,7 @@
DATE
=
`
date
"+%d/%m/%Y"
`
echo
"This ONELAB bundle was built on
${
DATE
}
with the latest builds of Gmsh
(http://gmsh.info) and GetDP (http://getdp.info).
(http
s
://gmsh.info) and GetDP (http
s
://getdp.info).
To run your first simulation, launch Gmsh and open a GetDP .pro file
(e.g. models/Magnetometer/magnetometer.pro) with the File/Open menu, then click
...
...
@@ -13,10 +13,10 @@ The software is distributed under the terms of the GNU General Public License.
See the LICENSE and CREDITS files for more information.
The 'tutorials' directory contains ONELAB tutorials. The 'models' directory
contains a selection of other ready-to-use models from http://onelab.info. The
contains a selection of other ready-to-use models from http
s
://onelab.info. The
'templates' directory contains generic model templates.
See http://onelab.info for additional examples, up-to-date versions and
See http
s
://onelab.info for additional examples, up-to-date versions and
documentation."
>
/tmp/README.txt
GMSH
=
git
...
...
@@ -36,7 +36,7 @@ MODELS=`cat bundle_models.txt`
rm
-rf
/tmp/models
mkdir
/tmp/models
for
m
in
${
MODELS
}
;
do
curl
-O
http://onelab.info/files/
${
m
}
.zip
curl
-O
http
s
://onelab.info/files/
${
m
}
.zip
unzip
-q
-o
${
m
}
.zip
-d
/tmp/models
rm
-f
${
m
}
.zip
done
...
...
@@ -46,19 +46,19 @@ mkdir /tmp/tutorials
mkdir
/tmp/tutorials/gmsh
mkdir
/tmp/tutorials/getdp
for
m
in
${
TUTO_GETDP
}
;
do
curl
-O
http://onelab.info/files/
${
m
}
.zip
curl
-O
http
s
://onelab.info/files/
${
m
}
.zip
unzip
-q
-o
${
m
}
.zip
-d
/tmp/tutorials/getdp
rm
-f
${
m
}
.zip
done
mkdir
/tmp/tutorials/python
for
m
in
${
TUTO_PYTHON
}
;
do
curl
-O
http://onelab.info/files/
${
m
}
.zip
curl
-O
http
s
://onelab.info/files/
${
m
}
.zip
unzip
-q
-o
${
m
}
.zip
-d
/tmp/tutorials/python
rm
-f
${
m
}
.zip
done
mkdir
/tmp/tutorials/c++
for
m
in
${
TUTO_CPP
}
;
do
curl
-O
http://onelab.info/files/
${
m
}
.zip
curl
-O
http
s
://onelab.info/files/
${
m
}
.zip
unzip
-q
-o
${
m
}
.zip
-d
/tmp/tutorials/c++
rm
-f
${
m
}
.zip
done
...
...
@@ -68,8 +68,8 @@ rm -rf /tmp/tutorials/optlab/.git
if
[
$#
-lt
1
]
||
[
$1
==
"source"
]
;
then
rm
-rf
onelab-source
*
mkdir
onelab-source
curl
-O
http://gmsh.info/src/gmsh-
${
GMSH
}
-source
.tgz
curl
-O
http://getdp.info/src/getdp-
${
GETDP
}
-source
.tgz
curl
-O
http
s
://gmsh.info/src/gmsh-
${
GMSH
}
-source
.tgz
curl
-O
http
s
://getdp.info/src/getdp-
${
GETDP
}
-source
.tgz
mv
gmsh-
${
GMSH
}
-source
.tgz /tmp
mv
getdp-
${
GETDP
}
-source
.tgz /tmp
tar
zxvf /tmp/gmsh-
${
GMSH
}
-source
.tgz
-C
/tmp
...
...
@@ -97,9 +97,9 @@ fi
if
[
$#
-lt
1
]
||
[
$1
==
"win64"
]
;
then
rm
-rf
onelab-Windows64
*
mkdir
onelab-Windows64
curl
-O
http://gmsh.info/bin/Windows/gmsh-
${
GMSH
}
-Windows64
.zip
curl
-O
http://getdp.info/bin/Windows/getdp-
${
GETDP
}
-Windows64c
.zip
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Windows64
.zip
curl
-O
http
s
://gmsh.info/bin/Windows/gmsh-
${
GMSH
}
-Windows64
.zip
curl
-O
http
s
://getdp.info/bin/Windows/getdp-
${
GETDP
}
-Windows64c
.zip
curl
-O
http
s
://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Windows64
.zip
mv
gmsh-
${
GMSH
}
-Windows64
.zip /tmp
mv
getdp-
${
GETDP
}
-Windows64c
.zip /tmp
mv
optlab-
${
OPTLAB
}
-Windows64
.zip /tmp
...
...
@@ -134,9 +134,9 @@ fi
if
[
$#
-lt
1
]
||
[
$1
==
"win32"
]
;
then
rm
-rf
onelab-Windows32
*
mkdir
onelab-Windows32
curl
-O
http://gmsh.info/bin/Windows/gmsh-
${
GMSH
}
-Windows32
.zip
curl
-O
http://getdp.info/bin/Windows/getdp-
${
GETDP
}
-Windows32c
.zip
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Windows32
.zip
curl
-O
http
s
://gmsh.info/bin/Windows/gmsh-
${
GMSH
}
-Windows32
.zip
curl
-O
http
s
://getdp.info/bin/Windows/getdp-
${
GETDP
}
-Windows32c
.zip
curl
-O
http
s
://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Windows32
.zip
mv
gmsh-
${
GMSH
}
-Windows32
.zip /tmp
mv
getdp-
${
GETDP
}
-Windows32c
.zip /tmp
mv
optlab-
${
OPTLAB
}
-Windows32
.zip /tmp
...
...
@@ -171,9 +171,9 @@ fi
if
[
$#
-lt
1
]
||
[
$1
==
"linux64"
]
;
then
rm
-rf
onelab-Linux64
*
mkdir
onelab-Linux64
curl
-O
http://gmsh.info/bin/Linux/gmsh-
${
GMSH
}
-Linux64
.tgz
curl
-O
http://getdp.info/bin/Linux/getdp-
${
GETDP
}
-Linux64c
.tgz
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Linux64
.zip
curl
-O
http
s
://gmsh.info/bin/Linux/gmsh-
${
GMSH
}
-Linux64
.tgz
curl
-O
http
s
://getdp.info/bin/Linux/getdp-
${
GETDP
}
-Linux64c
.tgz
curl
-O
http
s
://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Linux64
.zip
mv
gmsh-
${
GMSH
}
-Linux64
.tgz /tmp
mv
getdp-
${
GETDP
}
-Linux64c
.tgz /tmp
mv
optlab-
${
OPTLAB
}
-Linux64
.zip /tmp
...
...
@@ -207,9 +207,9 @@ fi
if
[
$#
-lt
1
]
||
[
$1
==
"linux32"
]
;
then
rm
-rf
onelab-Linux32
*
mkdir
onelab-Linux32
curl
-O
http://gmsh.info/bin/Linux/gmsh-
${
GMSH
}
-Linux32
.tgz
curl
-O
http://getdp.info/bin/Linux/getdp-
${
GETDP
}
-Linux32c
.tgz
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Linux32
.zip
curl
-O
http
s
://gmsh.info/bin/Linux/gmsh-
${
GMSH
}
-Linux32
.tgz
curl
-O
http
s
://getdp.info/bin/Linux/getdp-
${
GETDP
}
-Linux32c
.tgz
curl
-O
http
s
://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Linux32
.zip
mv
gmsh-
${
GMSH
}
-Linux32
.tgz /tmp
mv
getdp-
${
GETDP
}
-Linux32c
.tgz /tmp
mv
optlab-
${
OPTLAB
}
-Linux32
.zip /tmp
...
...
@@ -243,9 +243,9 @@ fi
if
[
$#
-lt
1
]
||
[
$1
==
"mac"
]
;
then
rm
-rf
onelab-MacOSX
*
mkdir
onelab-MacOSX
curl
-O
http://gmsh.info/bin/MacOSX/gmsh-
${
GMSH
}
-MacOSX
.dmg
curl
-O
http://getdp.info/bin/MacOSX/getdp-
${
GETDP
}
-MacOSXc
.tgz
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-MacOSX
.zip
curl
-O
http
s
://gmsh.info/bin/MacOSX/gmsh-
${
GMSH
}
-MacOSX
.dmg
curl
-O
http
s
://getdp.info/bin/MacOSX/getdp-
${
GETDP
}
-MacOSXc
.tgz
curl
-O
http
s
://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-MacOSX
.zip
mv
gmsh-
${
GMSH
}
-MacOSX
.dmg /tmp
mv
getdp-
${
GETDP
}
-MacOSXc
.tgz /tmp
mv
optlab-
${
OPTLAB
}
-MacOSX
.zip /tmp
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment