Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Quad, 1 invisible), 721 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Multi cores issue #462618
10/15/16 16:27
10/15/16 16:27
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Hi,
I train workshop 6_1 in multi-cores mode. No issue
I copy the script in another directory, train. No issue
I change the name of the script, train. The multi-cores function does not work.

Different Zorro are opened, but not working. Only the main one works, so the trading never ends because the main zorro is waiting for the other cores to do their jobs. The "core active - please wait" is displayed forever.
A pic with the issue from the task-manager perspective is attached.

Ciao

Attached Files
Untitled.png (122 downloads)
Re: Multi cores issue [Re: MatPed] #462631
10/17/16 12:44
10/17/16 12:44
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
What's the evil script name that causes multi-core not to work?

Re: Multi cores issue [Re: jcl] #462761
10/25/16 21:05
10/25/16 21:05
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
This is a Bug 99%.
Attached the screen shot with the multicore hanged. I notice that the correct script name is not displayed in the multi core windows.
Script and screenshot attached.

Done some more other tests the issue does not happen if I train the same script in the defalt Strategy dir. HtH

Ciao

Attached Files
Workshop6_1 - Copy.c (25 downloads)
Last edited by MatPed; 10/25/16 21:30.
Re: Multi cores issue [Re: MatPed] #462783
10/28/16 16:21
10/28/16 16:21
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Thou shalt not give your files evil names...

Blanks, other special characters, or '/' in a file name are no good for passing them to command lines, as is the case for multicore. Some programs deal with such a situation by adding quotes to the file name, others don't. Zorro adds no quotes. So, use normal file names please. Sames goes for variable names, asset names, or any other names in your scripts.

Re: Multi cores issue [Re: jcl] #462787
10/28/16 17:53
10/28/16 17:53
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
The evil name is now 2 chars and one digit: TS1
The issue is still there.

Attached Files Untitled.jpg
Last edited by MatPed; 10/28/16 17:54.
Re: Multi cores issue [Re: MatPed] #462925
11/06/16 11:09
11/06/16 11:09
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Ok, the support answered on this issue:
Quote:

Hi,
that's correct. Multicore training starts the training processes via command line, and for this the script must be located in the Strategy folder.

Best regards

Zorro Support Team


I have created a dummy.c script in the the standard Strategy folder just including the original strategy file located in other directory and it works, but its a limit to take into consideration.

HtH

Last edited by MatPed; 11/06/16 11:09.

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1