Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • develop
  • develop_PortingFromCToCpp_MultidimensionalSubscriptOperator
  • develop_porting_from_c_to_cpp
  • el_TTI
  • feature/rheinstetten
  • master
  • optstepl
  • struct
  • threading
  • vector
10 results

Target

Select target project
  • kit/gpi/ag/software/ifos3d
1 result
Select Git revision
  • develop
  • develop_PortingFromCToCpp_MultidimensionalSubscriptOperator
  • develop_porting_from_c_to_cpp
  • el_TTI
  • feature/rheinstetten
  • master
  • optstepl
  • struct
  • threading
  • vector
10 results
Show changes
Commits on Source (2)
...@@ -59,7 +59,7 @@ REF := ifos3D_reference.pdf ...@@ -59,7 +59,7 @@ REF := ifos3D_reference.pdf
############################################################################### ###############################################################################
### GNU compiler with OpenMPI ### GNU compiler with OpenMPI
CC := export OMPI_CC=gcc-13 ; mpicc CC := export OMPI_CC=gcc-13 ; mpicc
CXX := xport OMPI_CXX=gcc-13 ; mpicxx CXX := export OMPI_CXX=gcc-13 ; mpicxx
CPPFLAGS = -D_GNU_SOURCE -DLOG_COLOR -DKISSFFT_DATATYPE=float CPPFLAGS = -D_GNU_SOURCE -DLOG_COLOR -DKISSFFT_DATATYPE=float
EXTRA_CPPFLAGS := -DUSE_MPI EXTRA_CPPFLAGS := -DUSE_MPI
CFLAGS = -O3 -Wall -Wextra -g -std=c99 -fopenmp-simd -flto -march=znver4 CFLAGS = -O3 -Wall -Wextra -g -std=c99 -fopenmp-simd -flto -march=znver4
...@@ -111,7 +111,7 @@ EXTRA_LDFLAGS := ...@@ -111,7 +111,7 @@ EXTRA_LDFLAGS :=
## module purge ## module purge
## module add mpi/openmpi/4.1 ## module add mpi/openmpi/4.1
## unset CFLAGS CXXFLAGS FCFLAGS FFLAGS OMPI_CFLAGS OMPI_CXXFLAGS OMPI_FCFLAGS OMPI_FFLAGS ## unset CFLAGS CXXFLAGS FCFLAGS FFLAGS OMPI_CFLAGS OMPI_CXXFLAGS OMPI_FCFLAGS OMPI_FFLAGS
## make -j ifos3D HH_MODEL=hh_toy_true.c V=1 \ ## make -j ifos3D HH_MODEL=hh_toy_true.cpp V=1 \
## OMPI_CC="${HOME}/aocc-compiler-5.0.0/bin/clang" \ ## OMPI_CC="${HOME}/aocc-compiler-5.0.0/bin/clang" \
## I_MPI_CC="${HOME}aocc-compiler-5.0.0/bin/clang" \ ## I_MPI_CC="${HOME}aocc-compiler-5.0.0/bin/clang" \
## AR="${HOME}/aocc-compiler-5.0.0/bin/llvm-ar" \ ## AR="${HOME}/aocc-compiler-5.0.0/bin/llvm-ar" \
......
...@@ -55,8 +55,8 @@ int read_objects_from_intputfile(const char *input_file, char **varname_list, ch ...@@ -55,8 +55,8 @@ int read_objects_from_intputfile(const char *input_file, char **varname_list, ch
if (((strstr(cline, ":")) && ((strstr(cline, "\"")))) && if (((strstr(cline, ":")) && ((strstr(cline, "\"")))) &&
(!(strstr(cline, "comment")) && !(strstr(cline, "Comment")))) { (!(strstr(cline, "comment")) && !(strstr(cline, "Comment")))) {
//count number of double quotes and colon signs //count number of double quotes and colon signs
occurence_doublequotes = count_occure_charinstring(cline, (const char *)"\""); occurence_doublequotes = count_occure_charinstring(cline, "\"");
occurence_commas = count_occure_charinstring(cline, (const char *)","); occurence_commas = count_occure_charinstring(cline, ",");
//only two pais of double quotes are allowed per line //only two pais of double quotes are allowed per line
switch (occurence_doublequotes) { switch (occurence_doublequotes) {
......