Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
giraffe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nek5000
giraffe
Commits
b5acc7b0
Commit
b5acc7b0
authored
Jan 22, 2018
by
Ron Rahaman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'appfactory-fix' into 'develop'
Updated MooseApp to MooseAppPtr See merge request
!2
parents
55523d6d
81b0dee8
Pipeline
#3013
failed with stages
in 116 minutes and 44 seconds
Changes
2
Pipelines
11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
.gitlab-ci.yml
.gitlab-ci.yml
+6
-8
src/main.C
src/main.C
+1
-5
No files found.
.gitlab-ci.yml
View file @
b5acc7b0
...
...
@@ -54,11 +54,10 @@ run_giraffe_serial_job:
MOOSE_DIR
:
"
$CI_PROJECT_DIR/moose"
LIBMESH_DIR
:
"
$CI_PROJECT_DIR/moose/libmesh/installed"
script
:
-
set -o pipefail
-
cd examples/integration_example
-
rm -f *sch
-
../../giraffe-opt -i coefficient_integration.i
| tee
integration_example_serial.stdout
-
exit $?
-
rm -f *sch
integration_example_serial.stdout
-
../../giraffe-opt -i coefficient_integration.i
>
integration_example_serial.stdout
-
tail -n1000 integration_example_serial.stdout
verify_giraffe_serial_job
:
stage
:
verify_giraffe_serial
...
...
@@ -87,11 +86,10 @@ run_giraffe_parallel_job:
MOOSE_DIR
:
"
$CI_PROJECT_DIR/moose"
LIBMESH_DIR
:
"
$CI_PROJECT_DIR/moose/libmesh/installed"
script
:
-
set -o pipefail
-
cd examples/integration_example
-
rm -f *sch
-
mpirun -np 4 ../../giraffe-opt -i coefficient_integration.i
| tee
integration_example_parallel.stdout
-
exit $?
-
rm -f *sch
integration_example_parallel.stdout
-
mpirun -np 4 ../../giraffe-opt -i coefficient_integration.i
>
integration_example_parallel.stdout
-
tail -n1000 integration_example_parallel.stdout
verify_giraffe_parallel_job
:
stage
:
verify_giraffe_parallel
...
...
src/main.C
View file @
b5acc7b0
...
...
@@ -16,14 +16,10 @@ int main(int argc, char *argv[])
// Register this application's MooseApp and any it depends on
GiraffeApp
::
registerApps
();
// This creates dynamic memory that we're responsible for deleting
MooseApp
*
app
=
AppFactory
::
createApp
(
"GiraffeApp"
,
argc
,
argv
);
MooseAppPtr
app
=
AppFactory
::
createAppShared
(
"GiraffeApp"
,
argc
,
argv
);
// Execute the application
app
->
run
();
// Free up the memory we created earlier
delete
app
;
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment