Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CTUApex
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
Heldmann, Tim
CTUApex
Commits
7bd29f55
Commit
7bd29f55
authored
5 months ago
by
Heldmann, Tim
Browse files
Options
Downloads
Patches
Plain Diff
Remove some warnings from demo script, and cleanup some lines
parent
0ff85612
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/4_Lulesh/demo.sh
+13
-15
13 additions, 15 deletions
test/4_Lulesh/demo.sh
with
13 additions
and
15 deletions
test/4_Lulesh/demo.sh
+
13
−
15
View file @
7bd29f55
mkdir
build
cd
build
cmake
-DUSE_MPI
=
0
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
ON ..
cp
compile_commands.json ../compile_commands.json
cd
..
# this is the cgcollector from metacg
cgcollector
-p
build
--metacg-format-version
=
2 lulesh.cc
cgcollector
-p
build
--metacg-format-version
=
2 lulesh-init.cc
cgcollector
-p
build
--metacg-format-version
=
2 lulesh-comm.cc
cgcollector
-p
build
--metacg-format-version
=
2 lulesh-util.cc
cgcollector
-p
build
--metacg-format-version
=
2 lulesh-viz.cc
cgcollector
-p
build
--extra-arg
=
-I
$(
clang
-print-resource-dir
)
/include
--metacg-format-version
=
2 lulesh.cc
cgcollector
-p
build
--extra-arg
=
-I
$(
clang
-print-resource-dir
)
/include
--metacg-format-version
=
2 lulesh-init.cc
cgcollector
-p
build
--extra-arg
=
-I
$(
clang
-print-resource-dir
)
/include
--metacg-format-version
=
2 lulesh-comm.cc
cgcollector
-p
build
--extra-arg
=
-I
$(
clang
-print-resource-dir
)
/include
--metacg-format-version
=
2 lulesh-util.cc
cgcollector
-p
build
--extra-arg
=
-I
$(
clang
-print-resource-dir
)
/include
--metacg-format-version
=
2 lulesh-viz.cc
echo
"null"
>
merged.ipcg
#this is cgmerge from metacg
...
...
@@ -13,15 +19,7 @@ cgmerge merged.ipcg *.ipcg
# as it is buggy in the current metacg release
sed
-i
's/fileProperties/FileProperties/g'
merged.ipcg
#this currently uses hardcoded include directories as to be compatible with C++
#this is a terrible solution and is currently being worked on
#CTUApex --extra-arg=-I/home/groups/da_sc/moduletree/packages-2023-08-24/.gcc/11.2.0/clang/15.0.7.debug/include \
#--extra-arg=-I/opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12/../../../../include/c++/12 \
#--extra-arg=-I/opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12/../../../../include/c++/12/x86_64-redhat-linux \
#--extra-arg=-I/opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12/../../../../include/c++/12/backward \
#--extra-arg=-I/work/groups/da_sc/moduletree/packages-2023-08-24/.gcc/8.5.0/clang/debug.15.0.7/lib/clang/15.0.7/include \
#--extra-arg=-I/usr/local/include \
#--extra-arg=-I/usr/include \
CTUApex
\
--cg-file
=
merged.ipcg
\
--extra-arg
=
-DUSE_MPI
=
0
\
...
...
@@ -29,4 +27,4 @@ CTUApex \
lulesh.cc lulesh-init.cc lulesh-comm.cc lulesh-util.cc lulesh-viz.cc 2> log.log
#This should result in 5 files with the names lulesh.mini.cc lulesh-init.mini.cc lulesh-comm.mini.cc lulesh-util.mini.cc lulesh-viz.mini.cc
#which should then be able to be compiled
#The resulting binary is currently not able to be run, as no wrapper script can be generated the does the memory setup
\ No newline at end of file
#The resulting binary is currently not able to be run, as no wrapper script can be generated the does the memory setup
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