2021-08-06 22:55
hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
00:00
asdfafewa has quit [Quit: Client closed]
01:33
Yorlik_ has joined #ste||ar
01:37
Yorlik has quit [Ping timeout: 265 seconds]
03:10
hkaiser has quit [Quit: Bye!]
05:18
Yorlik_ has quit [Read error: Connection reset by peer]
05:22
Yorlik has joined #ste||ar
11:38
hkaiser has joined #ste||ar
14:31
tufei__ has joined #ste||ar
14:33
tufei_ has quit [Ping timeout: 240 seconds]
15:10
HHN93 has joined #ste||ar
15:11
<
HHN93 >
how can I add tests for a new algorithm?
15:11
<
HHN93 >
I added the .cpp file in `libs/core/algorithms/tests/unit/algorithms/`
15:12
<
HHN93 >
should I add it to any CMakeLists.txt file?
15:20
HHN93 has quit [Quit: Client closed]
15:21
<
satacker[m] >
Yes, (to confirm check if other file names (even without extensions) are there)
16:23
tufei__ has quit [Quit: Leaving]
16:35
tufei has joined #ste||ar
16:37
HHN93 has joined #ste||ar
16:53
<
hkaiser >
HHN93: don't add it to
_any_ CMakeLists.txt file, just to that in the directory where you added the test.cpp
16:53
<
HHN93 >
yes i got it
16:53
<
HHN93 >
I was adding it to the wrong CMakeLists.txt
16:53
<
HHN93 >
fixed it now
16:54
<
HHN93 >
also `CMAKE_HAVE_LIBC_PTHREAD failed with the following output:`
16:54
<
HHN93 >
is this error a concern?
16:55
<
hkaiser >
HHN93: where do you see that?
16:55
<
HHN93 >
CMAKE error log
16:55
<
hkaiser >
I mean what machine? on the CI?
16:55
<
HHN93 >
no, rostam cluster
16:56
<
HHN93 >
medusa and head node both give the same error
16:56
<
hkaiser >
what modules did you load?
16:56
<
HHN93 >
module load gcc/11.2.1
16:56
<
HHN93 >
module load boost/1.78.0-release
16:56
<
HHN93 >
have them in .bashrc
16:57
<
hkaiser >
not sure why you see that error, libpthread should be available
16:58
<
hkaiser >
HHN93: I have never seen this error before
16:59
<
HHN93 >
I think I messed up some cmake file let me try again
16:59
<
HHN93 >
because a simple pthread program does compile
17:49
HHN93 has quit [Quit: Client closed]
18:58
hkaiser has quit [Ping timeout: 260 seconds]
20:09
hkaiser has joined #ste||ar
21:34
HHN93 has joined #ste||ar
21:41
<
HHN93 >
CMake Error at cmake/HPX_AddExecutable.cmake:202 (add_executable):
21:41
<
HHN93 >
add_executable cannot create target "fold_test" because another target with
21:41
<
HHN93 >
the same name already exists. The existing target is an executable created
21:41
<
HHN93 >
in source directory
21:41
<
HHN93 >
"/home/johan511/hpx/libs/core/algorithms/tests/unit/algorithms". See
21:41
<
HHN93 >
documentation for policy CMP0002 for more details.
21:41
<
HHN93 >
the above error wasn't logged
21:41
<
HHN93 >
fixing this error somehow fixed the pthread error
22:01
HHN93 has quit [Quit: Client closed]