Logo by DarkBeam - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 25, 2024, 02:13:46 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Tglad's Formula crash error v1.21  (Read 2520 times)
Description: Error generated in OpenCL mode for Tglad's formula
0 Members and 1 Guest are viewing this topic.
geomagnet
Alien
***
Posts: 21


« on: February 08, 2014, 05:38:04 PM »

OpenCL Build log:   :1733:1: error: expected expression
     float tgladDE = 1.0f;
^
:1759:3: error: use of undeclared identifier 'tgladDE'
                tgladDE = tgladDE * fabs(m) + 1.0f;
                ^
:1770:20: error: use of undeclared identifier 'tgladDE'
                        dist = r / fabs(tgladDE);

Hello,
I got this error trying to render Tglad's formula in OpenCL mode.  I'm sure it's looking for the declaration in the init file but I can't find which one it is.
How can I fix this?   

Thanks.

PS...great job on the latest upgrades.  the png alpha channel in OpenCL is very exciting.
  Allows for some interesting compositions.
Logged
Pauldelbrot
Fractal Senior
******
Posts: 2592



pderbyshire2
« Reply #1 on: February 09, 2014, 07:43:17 AM »

The declaration is there, but the first error shows it's not parsing it for some reason. If the actual file has a tab character at the start of that line, try changing it to spaces and see if that helps. It may be that whatever reads that file is allergic to tabs. If that doesn't do it then it's probably a problem that requires more context (more of the lines around the declaration) to figure out, and/or specific knowledge of OpenCL that I don't possess.
Logged

mclarekin
Fractal Senior
******
Posts: 1739



« Reply #2 on: February 09, 2014, 08:29:13 AM »

Hmmm, I don't have that problem ??.  Its declared in   cl_mandelbox_fullInit at the beginning

Code:
	float tgladDE = 1.0f;
float3 ones = 1.0f;
float3 foldingLimit = consts->fractal.mandelbox.foldingLimit;
float3 foldingValue = consts->fractal.mandelbox.foldingValue;
float mr2 = consts->fractal.mandelbox.minRadius * consts->fractal.mandelbox.minRadius;
float fr2 = consts->fractal.mandelbox.fixedRadius * consts->fractal.mandelbox.fixedRadius;
float scale = consts->fractal.mandelbox.scale;
colourMin = 0.0f;

Logged
quaz0r
Fractal Molossus
**
Posts: 652



« Reply #3 on: February 09, 2014, 08:44:39 AM »

i just tried tglad in opencl mode with 1.21-1 on linux/nvidia and it completed a render without error.  however i just looked and cl_mandelbox_fullInit.cl does have actual tabs at the beginning of each line.  it would be typical Fisher-Price-OS fashion to fail on something like a tab.
« Last Edit: February 09, 2014, 08:49:03 AM by quaz0r » Logged
geomagnet
Alien
***
Posts: 21


« Reply #4 on: February 15, 2014, 03:34:57 PM »

Okay, so you're saying that if I open the "Fractal" tab and select "Tglad's formula (Mandelbox)" from the drop down and then
open the "Open CL" tab and Enable "OpenCL Kernel" and render, it uses the "cl_mandelbox_full*" files.   

I'm using notepad++.  I've tried ANSII and UTF-8.  I've tried removing the tab and replacing with space.  It doesn't seem to be
happy with anything I do.   Am I looking in the right place?   C://Program Files/Mandelbulber/cl/


Thanks
James
Logged
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #5 on: February 15, 2014, 11:53:53 PM »

Either the "cl_mandelbox_ full" or the "cl_mandelbox", I am not sure if the mandelbox_full is only initiated when the "Enable Rotation" is ticked.

 C://Program Files/Mandelbulber/cl/ is the correct location.

 However from my little knowledge I suspect there is nothing really wrong with the code as it seems to work for most people, but with minor glitches that are more individual computer specific (ie driver software, GPU etc)

I guess you have tried reinstalling the programme and/or earlier versions to see if there is you get the same error?
Logged
geomagnet
Alien
***
Posts: 21


« Reply #6 on: February 18, 2014, 07:02:53 PM »

I haven't gone to an older version, but as I recall a majority of the formulas didn't work with OpenCL mode on my system so I either dealt with the long rendering
times of the fractal I wanted, or found fast rendering fractals the work in OpenCL. Nothing new, I was hoping to be able to use OpenCL on all the fractals.
I guess the biggest problem with the error is that previous versions would crash but leave the program running in normal CPU mode.  Now it reports the error and
then exits mandelbulber completely (not giving you the chance to save any settings).

FYI - I'm running

Win 7 Ultimate 64-bit
on Intel core-i7 3770 with Intel motherboard DZ77-BH55
and Nvidia GTX650Ti
Not sure if that helps.

Thanks anyhow, we'll worry about it later.  I'll just stay away from the things that don't work.
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Tglad's Mandelbox and using the delta DE methods for RIFS Amazing Box, Amazing Surf and variations « 1 2 3 » David Makin 30 22118 Last post March 12, 2010, 10:10:03 PM
by David Makin
Error 500 - Internal server error Discuss Fractal Forums tomot 9 6349 Last post April 22, 2011, 04:06:24 PM
by lenord
tglad's trick Mandelbulber Gallery taurus 1 1530 Last post July 31, 2016, 07:00:59 PM
by paigan0
JIT Formula Pack and Samples 1 -Message error! Help & Support Clior13 0 217 Last post August 18, 2016, 07:12:17 AM
by Clior13
Tweak for tglad fold Amazing Box, Amazing Surf and variations mclarekin 3 2531 Last post January 20, 2017, 05:53:56 PM
by knighty

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.257 seconds with 26 queries. (Pretty URLs adds 0.007s, 2q)