windows compile

瀏覽次數:513 次
跳到第一則未讀訊息

2013y...@gmail.com

未讀,
2013年6月18日 凌晨4:09:272013/6/18
收件者:stressappt...@googlegroups.com
I'd like to build it in mingw on windows. So I just curious if it is possible if I replace all linux only codes to windows ones, like sys/socket.h to winsock.h.

Thanks
Yigang

Nick Sanders

未讀,
2013年6月18日 清晨5:04:082013/6/18
收件者:stressappt...@googlegroups.com
There's also a bunch of threading and priority stuff that may not be supported on windows. It might be worth trying on cygwin first to see what else might be missing as that won't require any socket porting. If you do get it working cleanly on windows a patch would be welcome.

If you just want to make it work easily, you can delete the contents of the unixy network worker threads, disk workers, extra features, etc., the core memory test itself is pretty portable.



--
 
---
You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-di...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

2013y...@gmail.com

未讀,
2013年6月19日 晚上9:55:382013/6/19
收件者:stressappt...@googlegroups.com
Thank you for your replay.
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsub...@googlegroups.com.

deepak tiwari

未讀,
2017年1月15日 下午6:22:532017/1/15
收件者:stressapptest-discuss
Hi Nick,

I was trying to compile this in cygwin i tried installing the entire packages, my requirement is to compile this for windows the stresapptest but i am getting the below error when i try to compile it

$ make
make  all-am
make[1]: Entering directory '/home/stressapptest-master/src'
g++ -DHAVE_CONFIG_H -I.     -DCHECKOPTS -Wreturn-type -Wunused -Wuninitialized -Wall -O3 -funroll-all-loops  -funroll-loops -DNDEBUG -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
In file included from finelock_queue.h:29:0,
                 from sat.h:28,
                 from main.cc:18:
os.h:21:25: fatal error: sys/syscall.h: No such file or directory
compilation terminated.
make[1]: *** [Makefile:326: main.o] Error 1
make[1]: Leaving directory '/home/stressapptest-master/src'
make: *** [Makefile:192: all] Error 2


can you suggest me some steps to compile it properly.

thanks & Regards
Deepak
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsub...@googlegroups.com.

Nick Sanders

未讀,
2017年1月15日 下午6:51:522017/1/15
收件者:stressappt...@googlegroups.com
I don't have access to a Windows machine, and stressapptest doesn't have a working Windows config. However, if you just comment out every line that doesn't compile it will likely run, although some features may be missing.

To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsubscri...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

--

---
You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

deepak tiwari

未讀,
2017年1月15日 晚上7:38:322017/1/15
收件者:stressapptest-discuss

Hi Nick,
Thanks for the quick response.

i tried compiling with lot of different compilers like cygwin,visual studio,mingw,parallel studio but was not able to compile it any particular steps that i can use which can help me resolving the dependencies will be great as i have a tight deadline to meet :)

thanks & Regards
Deepak

thanks & Regards
Deepak
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Nick Sanders

未讀,
2017年1月15日 晚上8:33:312017/1/15
收件者:stressappt...@googlegroups.com
Unfortunately most of the dependencies can't be met on Windows. 

So just delete line 21 in os.h, since it failed in your included log. Then compile again and delete any line that fails. 



Hi Nick,
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsubscri...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

--

---
You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsubscri...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

deepak tiwari

未讀,
2017年1月15日 晚上8:37:172017/1/15
收件者:stressappt...@googlegroups.com
Thank you for your valuable inputs I was trying the same but it keeps moving to lot of new errors ...will try again 😀

Regards 
Deepak

Hi Nick,
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-di...@googlegroups.com.





For more options, visit https://groups.google.com/groups/opt_out.


 


 










--





---


You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.


To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-di...@googlegroups.com.



For more options, visit https://groups.google.com/d/optout.










--





---


You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.


To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-di...@googlegroups.com.



For more options, visit https://groups.google.com/d/optout.











--





---


You received this message because you are subscribed to a topic in the Google Groups "stressapptest-discuss" group.


To unsubscribe from this topic, visit https://groups.google.com/d/topic/stressapptest-discuss/7-Ip-rSjrwc/unsubscribe.


To unsubscribe from this group and all its topics, send an email to stressapptest-di...@googlegroups.com.

deepak tiwari

未讀,
2017年2月17日 下午6:45:382017/2/17
收件者:stressappt...@googlegroups.com

Hi Nick,

I tried running the stressapptest  will more than 56 CPU i see  the below error , can you guide if this test is allowed only to run for 56 cpu and if i want o make it run for more no  what should i change?

2051/08/08-21:21:58(PDT) Log: 1 nodes, 112 cpus.
Assertion failed at os.cc:129
2051/08/08-21:21:58(PDT) Assertion failed at os.cc:129


thanks & Regards 
Deepak


Deepak


Hi Nick,
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsub...@googlegroups.com.





For more options, visit https://groups.google.com/groups/opt_out.


 


 










--





---


You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.


To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsub...@googlegroups.com.



For more options, visit https://groups.google.com/d/optout.










--





---


You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.


To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsub...@googlegroups.com.



For more options, visit https://groups.google.com/d/optout.










--





---


You received this message because you are subscribed to a topic in the Google Groups "stressapptest-discuss" group.


To unsubscribe from this topic, visit https://groups.google.com/d/topic/stressapptest-discuss/7-Ip-rSjrwc/unsubscribe.


To unsubscribe from this group and all its topics, send an email to stressapptest-discuss+unsub...@googlegroups.com.

Nick Sanders

未讀,
2017年2月20日 下午3:30:542017/2/20
收件者:stressappt...@googlegroups.com
It seems your libc's cpuset has this limitation.

logprintf(5, "Log: %d nodes, %d cpus.\n", num_nodes_, num_cpus_);
sat_assert(CPU_SETSIZE >= num_cpus_);

http://man7.org/linux/man-pages/man3/CPU_SET.3.html

If you comment the assert out, cpusets won't work properly but stressapptest will probably run. But, confirm the CPU load in the task manager (?) to make sure that stressapptest is running on all cores.

Deepak


Hi Nick,
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsubscri...@googlegroups.com.





For more options, visit https://groups.google.com/groups/opt_out.


 


 










--





---


You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.


To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsubscri...@googlegroups.com.



For more options, visit https://groups.google.com/d/optout.










--





---


You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.


To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-discuss+unsubscri...@googlegroups.com.



For more options, visit https://groups.google.com/d/optout.










--





---


You received this message because you are subscribed to a topic in the Google Groups "stressapptest-discuss" group.


To unsubscribe from this topic, visit https://groups.google.com/d/topic/stressapptest-discuss/7-Ip-rSjrwc/unsubscribe.


To unsubscribe from this group and all its topics, send an email to stressapptest-discuss+unsubscri...@googlegroups.com.



For more options, visit https://groups.google.com/d/optout.


deepak tiwari

未讀,
2017年2月21日 下午2:51:352017/2/21
收件者:stressappt...@googlegroups.com

Hi Nick,

thanks for the reply

So do i need to compile the code again after commenting out the assert and then it should run?

Regards
Deepak


To unsubscribe from this group and all its topics, send an email to stressapptest-discuss+unsub...@googlegroups.com.

deepak tiwari

未讀,
2017年2月21日 下午5:28:112017/2/21
收件者:stressappt...@googlegroups.com
Thank You Nick,

It worked .

regards
Deepak

To unsubscribe from this group and all its topics, send an email to stressapptest-discuss+unsubscri...@googlegroups.com.
訊息已遭刪除

lim.yo...@gmail.com

未讀,
2017年3月26日 晚上8:14:362017/3/26
收件者:stressapptest-discuss
Hi. Deepak.
I read your post above.
I need to see the your test result if possible.

Also, according to the message you wrote, you have done compiling with cygwin I understand.
if success, could you share the steps for building this application on windows.

best regards.
PhdLim.

Bryson Zimmerman

未讀,
2019年10月24日 下午3:10:492019/10/24
收件者:stressapptest-discuss
I have stressapptest running on Windows 10 using Windows Subsystem for Linux, using Ubuntu. From the Ubuntu shell, I installed the C++ compiler, built stressapptest, then ran it with stressapptest

deepak tiwari

未讀,
2020年6月10日 下午1:55:422020/6/10
收件者:stressapptest-discuss
Hi Bryson,

Do you still need the code?

regards
Deepak

Bryson Zimmerman

未讀,
2020年6月10日 下午2:18:072020/6/10
收件者:stressapptest-discuss
No, I had the code already. I was providing the steps I took to successfully build the app from the source code.
回覆所有人
回覆作者
轉寄
0 則新訊息