Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linuxbin
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aerospace and Mechanical Engineering
linuxbin
Commits
63b543bb
Commit
63b543bb
authored
2 weeks ago
by
Boman Romain
Browse files
Options
Downloads
Patches
Plain Diff
add new intel compilers
parent
05d53602
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cfg/fsa-spirou/compilers.bashrc
+12
-1
12 additions, 1 deletion
cfg/fsa-spirou/compilers.bashrc
with
12 additions
and
1 deletion
cfg/fsa-spirou/compilers.bashrc
+
12
−
1
View file @
63b543bb
...
...
@@ -26,7 +26,7 @@ if [ -d /opt/intel ] ; then
. /opt/intel/oneapi/tbb/latest/env/vars.sh
fi
function use_intel_compilers() {
function use_intel_compilers
_old
() {
source /opt/intel/oneapi/compiler/latest/env/vars.sh
export CC=icc
export CXX=icpc
...
...
@@ -36,3 +36,14 @@ function use_intel_compilers() {
echo " CXX=`which $CXX`"
echo " FC=`which $FC`"
}
function use_intel_compilers_new() {
source /opt/intel/oneapi/compiler/latest/env/vars.sh
export CC=icx
export CXX=icpx
export FC=ifx
echo "Intel compiler enabled!"
echo " CC=`which $CC`"
echo " CXX=`which $CXX`"
echo " FC=`which $FC`"
}
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