forked from lijiext/lammps
correct USER-INTEL installer script for verlet_lrt_intel files
This commit is contained in:
parent
be96486d66
commit
19f1f3a3e0
|
@ -26,13 +26,15 @@ action () {
|
|||
# do not install child files if parent does not exist
|
||||
|
||||
for file in *_intel.cpp; do
|
||||
dep=`echo $file | sed 's/neigh_full_intel/neigh_full/g' | \
|
||||
sed 's/_offload_intel//g' | sed 's/_intel//g'`
|
||||
dep=`echo $file | sed -e 's/verlet_lrt_intel/pppm/g' \
|
||||
-e 's/neigh_full_intel/neigh_full/g' \
|
||||
-e 's/_offload_intel//g' -e 's/_intel//g'`
|
||||
action $file $dep
|
||||
done
|
||||
|
||||
for file in *_intel.h; do
|
||||
dep=`echo $file | sed 's/_offload_intel//g' | sed 's/_intel//g'`
|
||||
dep=`echo $file | sed -e 's/verlet_lrt_intel/pppm/g' \
|
||||
-e 's/_offload_intel//g' -e 's/_intel//g'`
|
||||
action $file $dep
|
||||
done
|
||||
|
||||
|
@ -47,8 +49,6 @@ action npair_intel.cpp
|
|||
action intel_simd.h pair_sw_intel.cpp
|
||||
action intel_intrinsics.h pair_tersoff_intel.cpp
|
||||
action intel_intrinsics_airebo.h pair_airebo_intel.cpp
|
||||
action verlet_lrt_intel.h pppm.cpp
|
||||
action verlet_lrt_intel.cpp pppm.cpp
|
||||
|
||||
# step 2: handle cases and tasks not handled in step 1.
|
||||
|
||||
|
|
Loading…
Reference in New Issue