Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83088959
hack_openmp_for_pgi.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Sep 15, 03:43
Size
180 B
Mime Type
text/x-shellscript
Expires
Tue, Sep 17, 03:43 (2 d)
Engine
blob
Format
Raw Data
Handle
20545085
Attached To
rLAMMPS lammps
hack_openmp_for_pgi.sh
View Options
#!/bin/sh
for
f in *.h *.cpp
do
\
sed -e
'/#pragma omp/s/^\(.*default\)(none)\(.*\)$/\1(shared)\2/'
\
-e
'/#pragma omp/s/shared([a-z0-9,_]\+)//'
\
-i.bak
$f
done
Event Timeline
Log In to Comment