Okay, let me look into it.
I've started with METABALL primitive, although it is incomplete I believe
(metaball method). Should I retain both new and old code (shootalgo=2 and
shootalgo=3) or just one in OpenCL?
Also, how do I take input/define *ap->a_onehit *, *rp->r_min* and *rp->r_max
*in OpenCL?
Warm Regards,
*Sreyansh Kumhar Jain*
Visiting Research Student,
National Taiwan University,
Taiwan
*+91-9933958066*
sreyanshjai...@gmail.com
Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
<https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
On Sat, Jun 2, 2018 at 11:43 PM, Vasco Alexandre da Silva Costa <
vasco.co...@gmail.com> wrote:
> Since you can only allocate memory in the ANSI C side, you should make an
> OpenCL kernel which computes the amount of memory you need to allocate,
> then read that from the ANSI C side, where you do the memory allocation
> (you can use an array of structs instead of the list), and make another
> OpenCL kernel to fill the allocated data structure.
>
> On Sat, Jun 2, 2018 at 10:26 AM, Sreyansh Jain <sreyanshjai...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I'm almost done with PIPE primitive. How should I replace the bu_list
>> struct and its' functions, specially the ones in lin_pipe and bend_pipe
>> struct?
>>
>>
>>
>> Warm Regards,
>>
>> *Sreyansh Kumhar Jain*
>> 4th Year Undergraduate Student
>> Department of Mechanical Engineering
>> Indian Institute of Technology, Kharagpur
>> *+91-9933958066*
>>
>> sreyanshjai...@gmail.com
>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>
>> On Mon, May 28, 2018 at 10:16 PM, Vasco Alexandre da Silva Costa <
>> vasco.co...@gmail.com> wrote:
>>
>>> Test with one of the already existing OpenCL primitives like 'ell' to
>>> see if that works. Just in case there's an issue somewhere else in the
>>> pipeline.
>>>
>>> I'll try to take a look at your code this week.
>>>
>>> On Sat, May 26, 2018 at 9:08 PM, Sreyansh Jain <sreyanshjai...@gmail.com
>>> > wrote:
>>>
>>>> Thanks, that's done!
>>>>
>>>> I wanted to confirm if simply changing code in build directory would
>>>> work or do we have to recompile with cmake again for changes to be
>>>> implemented?
>>>>
>>>> I've made all the necessary changes as in patch file and the code also
>>>> doesn't seem to have any error. I've tried many things, but still I'm not
>>>> getting its openCL rendering as expected (blank .png image, basically). Can
>>>> you please check with updated superell_OCL.patch and let me know where I
>>>> went wrong?
>>>>
>>>>
>>>> Warm Regards,
>>>>
>>>> *Sreyansh Kumhar Jain*
>>>> 4th Year Undergraduate Student
>>>> Department of Mechanical Engineering
>>>> Indian Institute of Technology, Kharagpur
>>>> *+91-9933958066*
>>>>
>>>> sreyanshjai...@gmail.com
>>>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>
>>>> On Wed, May 23, 2018 at 9:50 PM, Vasco Alexandre da Silva Costa <
>>>> vasco.co...@gmail.com> wrote:
>>>>
>>>>> The BVH algorithm is implemented in 'bot' for example:
>>>>> https://svn.code.sf.net/p/brlcad/code/brlcad/trunk/src/librt
>>>>> /primitives/bot/bot_shot.cl
>>>>>
>>>>> Here you have some more links on your question. This should have been
>>>>> covered in your introductory CS classes though:
>>>>> https://en.wikipedia.org/wiki/Recursion_(computer_science)#R
>>>>> ecursion_versus_iteration
>>>>> https://en.wikipedia.org/wiki/Call_stack
>>>>>
>>>>> You can also check out Stack Overflow for doubts on things like this:
>>>>> https://stackoverflow.com/questions/15688019/recursion-versu
>>>>> s-iteration
>>>>>
>>>>> On Tue, May 22, 2018 at 2:27 AM, Sreyansh Jain <
>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>
>>>>>> I don't have any experience of working with stack. I'm looking into
>>>>>> it. In which files can I exactly find this BVH algorithm implemented in C
>>>>>> and OpenCL?
>>>>>>
>>>>>> Also, I'll submit the patches for HYP and ARBN by tonight for you to
>>>>>> review in case I'm going wrong somewhere. I'll work on their optimisation
>>>>>> later, as per my project plan.
>>>>>>
>>>>>> Warm Regards,
>>>>>>
>>>>>> *Sreyansh Kumhar Jain*
>>>>>> 4th Year Undergraduate Student
>>>>>> Department of Mechanical Engineering
>>>>>> Indian Institute of Technology, Kharagpur
>>>>>> *+91-9933958066*
>>>>>>
>>>>>> sreyanshjai...@gmail.com
>>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>>
>>>>>> On Sun, May 20, 2018 at 5:41 AM, Vasco Alexandre da Silva Costa <
>>>>>> vasco.co...@gmail.com> wrote:
>>>>>>
>>>>>>> Once you have code, you can submit a patch to the patches section at
>>>>>>> SourceForge.net and ask for us to review it.
>>>>>>>
>>>>>>> Typically, any recursive algorithm can be replaced with an iterative
>>>>>>> algorithm with a loop and a stack. We do this in the BVH intersection
>>>>>>> algorithm for example.
>>>>>>>
>>>>>>>
>>>>>>> On Fri, May 18, 2018 at 9:07 PM, Sreyansh Jain <
>>>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hey, thanks. I'll look into it.
>>>>>>>>
>>>>>>>> For the DSP code, I had a few doubts regarding how to approach the
>>>>>>>> recursion of isect_ray_dsp_bb() for its children and also for the
>>>>>>>> add_seg()
>>>>>>>> function. How do you propose I get it reviewed by you?
>>>>>>>>
>>>>>>>> Warm Regards,
>>>>>>>>
>>>>>>>> *Sreyansh Kumhar Jain*
>>>>>>>> 4th Year Undergraduate Student
>>>>>>>> Department of Mechanical Engineering
>>>>>>>> Indian Institute of Technology, Kharagpur
>>>>>>>> *+91-9933958066*
>>>>>>>>
>>>>>>>> sreyanshjai...@gmail.com
>>>>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>>>>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>>>>
>>>>>>>> On Thu, May 17, 2018 at 5:51 AM, Vasco Alexandre da Silva Costa <
>>>>>>>> vasco.co...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> In case you still have issues with your development environment
>>>>>>>>> setup, I have made this virtual disk image:
>>>>>>>>> https://mega.nz/#!za5GASRZ!t8jkYok9_6Jg9j5Evga0UESaMZ3H46gHY
>>>>>>>>> YhuwcjHg9M
>>>>>>>>>
>>>>>>>>> The file is compressed with 7-zip. You can run the Virtual Disk
>>>>>>>>> Image (.vdi) inside Virtual Box. The .vdi includes Ubuntu 18.04,
>>>>>>>>> BRL-CAD
>>>>>>>>> r70379, and all the dependencies (including X11, OpenGL, OpenCL).
>>>>>>>>> It also includes a compiled version of BRL-CAD which has working
>>>>>>>>> OpenCL
>>>>>>>>> support.
>>>>>>>>>
>>>>>>>>> username: public
>>>>>>>>> password: public
>>>>>>>>>
>>>>>>>>> The BRL-CAD sources are located in '~/brlcad'.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, May 16, 2018 at 4:06 PM, Vasco Alexandre da Silva Costa <
>>>>>>>>> vasco.co...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Yes -z1 is supposed to enable OpenCL mode if it's compiled in.
>>>>>>>>>> Make sure you install the appropriate package dependencies.
>>>>>>>>>> Besides the ones I cited before, check out the INSTALL guide in the
>>>>>>>>>> BRL-CAD
>>>>>>>>>> Wiki:
>>>>>>>>>> http://brlcad.org/wiki/Compiling
>>>>>>>>>>
>>>>>>>>>> On Tue, May 15, 2018 at 7:48 PM, Sreyansh Jain <
>>>>>>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I've managed to work out the above problem. I've started working
>>>>>>>>>>> on dsp shot routine.
>>>>>>>>>>> For MGED, I couldn't find anything for -z1 flag in 'man rt'
>>>>>>>>>>> command. What is the exact command for using OpenCL? I tried many
>>>>>>>>>>> but I'm
>>>>>>>>>>> not sure which one is correct, one of them being 'rt -z1 -z -s2048
>>>>>>>>>>> -H32'.
>>>>>>>>>>>
>>>>>>>>>>> Warm Regards,
>>>>>>>>>>>
>>>>>>>>>>> *Sreyansh Kumhar Jain*
>>>>>>>>>>> 4th Year Undergraduate Student
>>>>>>>>>>> Department of Mechanical Engineering
>>>>>>>>>>> Indian Institute of Technology, Kharagpur
>>>>>>>>>>> *+91-9933958066*
>>>>>>>>>>>
>>>>>>>>>>> sreyanshjai...@gmail.com
>>>>>>>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>>>>>>>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>>>>>>>
>>>>>>>>>>> On Sat, May 12, 2018 at 9:53 PM, Sreyansh Jain <
>>>>>>>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> It isn't. It is taking almost the same time for rt -o and rt -z
>>>>>>>>>>>> command. And with rt -z1, raytrace fails.
>>>>>>>>>>>> It isn't compiling Tk, Iwidgets, etc. and so there is no
>>>>>>>>>>>> geometry window coming up.
>>>>>>>>>>>>
>>>>>>>>>>>> Warm Regards,
>>>>>>>>>>>>
>>>>>>>>>>>> *Sreyansh Kumhar Jain*
>>>>>>>>>>>> 4th Year Undergraduate Student
>>>>>>>>>>>> Department of Mechanical Engineering
>>>>>>>>>>>> Indian Institute of Technology, Kharagpur
>>>>>>>>>>>> *+91-9933958066*
>>>>>>>>>>>>
>>>>>>>>>>>> sreyanshjai...@gmail.com
>>>>>>>>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>>>>>>>>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>>>>>>>>
>>>>>>>>>>>> On Sat, May 12, 2018 at 9:37 PM, Vasco Alexandre da Silva Costa
>>>>>>>>>>>> <vasco.co...@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Cool!
>>>>>>>>>>>>> Make sure to send that application log later though. So we can
>>>>>>>>>>>>> see if it's actually using OpenCL mode properly.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, May 11, 2018 at 7:51 PM, Sreyansh Jain <
>>>>>>>>>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Apparently, I've problem which is stated here:
>>>>>>>>>>>>>> https://sourceforge.net/p/brlcad/discussion/362510/thread/49
>>>>>>>>>>>>>> 279c58/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> While retracing, I found that the only difference I made was
>>>>>>>>>>>>>> directly using
>>>>>>>>>>>>>> *$ sudo apt install clinfo cmake g++ libx11-dev subversion*
>>>>>>>>>>>>>> instead of
>>>>>>>>>>>>>> *$ sudo bash apt install clinfo cmake g++ libx11-dev
>>>>>>>>>>>>>> subversion*
>>>>>>>>>>>>>> because latter gave this error: */usr/bin/apt: /usr/bin/apt:
>>>>>>>>>>>>>> cannot execute binary file*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Rest all commands are exactly the same!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Warm Regards,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> *Sreyansh Kumhar Jain*
>>>>>>>>>>>>>> 4th Year Undergraduate Student
>>>>>>>>>>>>>> Department of Mechanical Engineering
>>>>>>>>>>>>>> Indian Institute of Technology, Kharagpur
>>>>>>>>>>>>>> *+91-9933958066*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> sreyanshjai...@gmail.com
>>>>>>>>>>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> | LinkedIn
>>>>>>>>>>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Fri, May 11, 2018 at 12:08 AM, Vasco Alexandre da Silva
>>>>>>>>>>>>>> Costa <vasco.co...@gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Cool, but make sure to show us an MGED log file with the
>>>>>>>>>>>>>>> OpenCL render mode on.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> BTW, I tested the BRL-CAD OpenCL branch, and, it compiles &
>>>>>>>>>>>>>>> runs on the latest Ubuntu 18.04 LTS with the AMD APP SDK. But
>>>>>>>>>>>>>>> the package
>>>>>>>>>>>>>>> dependencies to get it to recognize X11 and OpenGL are kinda
>>>>>>>>>>>>>>> convoluted.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Wed, May 9, 2018 at 7:10 PM, Sreyansh Jain <
>>>>>>>>>>>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hey, it's working! I started from scratch for everything.
>>>>>>>>>>>>>>>> Now that I've set it up, I'll start working with developing
>>>>>>>>>>>>>>>> codes and their
>>>>>>>>>>>>>>>> performance check simultaneously.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Warm Regards,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> *Sreyansh Kumhar Jain*
>>>>>>>>>>>>>>>> 4th Year Undergraduate Student
>>>>>>>>>>>>>>>> Department of Mechanical Engineering
>>>>>>>>>>>>>>>> Indian Institute of Technology, Kharagpur
>>>>>>>>>>>>>>>> *+91-9933958066*
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> sreyanshjai...@gmail.com
>>>>>>>>>>>>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> |
>>>>>>>>>>>>>>>> LinkedIn
>>>>>>>>>>>>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Wed, May 9, 2018 at 10:15 PM, Vasco Alexandre da Silva
>>>>>>>>>>>>>>>> Costa <vasco.co...@gmail.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> In case you have issues with downloading the AMD APP SDK
>>>>>>>>>>>>>>>>> executable, here's a link to the .tar.bz2:
>>>>>>>>>>>>>>>>> https://drive.google.com/open?
>>>>>>>>>>>>>>>>> id=1wFzg1vohDHeebZn14IK12KOhbodS-zvS
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Wed, May 9, 2018 at 2:35 PM, Vasco Alexandre da Silva
>>>>>>>>>>>>>>>>> Costa <vasco.co...@gmail.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Did you make sure you updated the sources.list and did an
>>>>>>>>>>>>>>>>>> "sudo apt update; sudo apt upgrade"?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Note: Because Ubuntu 17.04 is EOL'ed you'll have to
>>>>>>>>>>>>>>>>>> change the
>>>>>>>>>>>>>>>>>> sources.list to get apt-get to work properly. see:
>>>>>>>>>>>>>>>>>> https://stackoverflow.com/ques
>>>>>>>>>>>>>>>>>> tions/48324701/google-compute-
>>>>>>>>>>>>>>>>>> engine-ubuntu-17-04-zesty-does
>>>>>>>>>>>>>>>>>> -no-longer-have-a-release-file
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> As for the AMD APP SDK (OpenCL) download page, yeah it
>>>>>>>>>>>>>>>>>> seems to be broken:
>>>>>>>>>>>>>>>>>> https://community.amd.com/community/devgurus/opencl
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thankfully I had a copy of it around here. I've put it up
>>>>>>>>>>>>>>>>>> here:
>>>>>>>>>>>>>>>>>> https://drive.google.com/open?
>>>>>>>>>>>>>>>>>> id=1NZ6Z6j4aRHlZpBrjJHeSwdmu-LJgEpSa
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Wed, May 9, 2018 at 5:37 AM, Sreyansh Jain <
>>>>>>>>>>>>>>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I tried with Ubuntu 17.04 but the error still remains
>>>>>>>>>>>>>>>>>>> the same. I believe it is unable to read *expscan.h*
>>>>>>>>>>>>>>>>>>> file where perplex template is defined. It is showing the
>>>>>>>>>>>>>>>>>>> same with both
>>>>>>>>>>>>>>>>>>> the latest as well as the r70379 version.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> In file included from /usr/brlcad/src/other/stepcode
>>>>>>>>>>>>>>>>>>>> /src/express/express.c:86:0:
>>>>>>>>>>>>>>>>>>>> /usr/brlcad/src/other/stepcode/src/express/parse_data.h:5:5:
>>>>>>>>>>>>>>>>>>>> error: unknown type name ‘perplex_t’
>>>>>>>>>>>>>>>>>>>> perplex_t scanner;
>>>>>>>>>>>>>>>>>>>> ^~~~~~~~~
>>>>>>>>>>>>>>>>>>>> /usr/brlcad/src/other/stepcode/src/express/express.c:
>>>>>>>>>>>>>>>>>>>> In function ‘PARSERrun’:
>>>>>>>>>>>>>>>>>>>> /usr/brlcad/src/other/stepcode/src/express/express.c:621:5:
>>>>>>>>>>>>>>>>>>>> error: unknown type name ‘perplex_t’
>>>>>>>>>>>>>>>>>>>> perplex_t scanner = perplexFileScanner( fp );
>>>>>>>>>>>>>>>>>>>> ^~~~~~~~~
>>>>>>>>>>>>>>>>>>>> src/other/stepcode/src/express
>>>>>>>>>>>>>>>>>>>> /CMakeFiles/express.dir/build.make:529: recipe for
>>>>>>>>>>>>>>>>>>>> target 'src/other/stepcode/src/expres
>>>>>>>>>>>>>>>>>>>> s/CMakeFiles/express.dir/express.c.o' failed
>>>>>>>>>>>>>>>>>>>> make[2]: *** [src/other/stepcode/src/expres
>>>>>>>>>>>>>>>>>>>> s/CMakeFiles/express.dir/express.c.o] Error 1
>>>>>>>>>>>>>>>>>>>> CMakeFiles/Makefile2:4685: recipe for target
>>>>>>>>>>>>>>>>>>>> 'src/other/stepcode/src/express/CMakeFiles/express.dir/all'
>>>>>>>>>>>>>>>>>>>> failed
>>>>>>>>>>>>>>>>>>>> make[1]: ***
>>>>>>>>>>>>>>>>>>>> [src/other/stepcode/src/express/CMakeFiles/express.dir/all]
>>>>>>>>>>>>>>>>>>>> Error 2
>>>>>>>>>>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Also, the link you mentioned
>>>>>>>>>>>>>>>>>>> https://developer.amd.com/amd-
>>>>>>>>>>>>>>>>>>> accelerated-parallel-processing-app-sdk/ doesn't exist
>>>>>>>>>>>>>>>>>>> as of now.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I've started with converting the HYP shot routine and
>>>>>>>>>>>>>>>>>>> will check its performance once my working development
>>>>>>>>>>>>>>>>>>> environment develops.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Also, I went through the instructions to be followed and
>>>>>>>>>>>>>>>>>>> will make it a point to give updates more frequently.
>>>>>>>>>>>>>>>>>>> Meanwhile, I had a
>>>>>>>>>>>>>>>>>>> few queries, both general and specific:
>>>>>>>>>>>>>>>>>>> - For acceptance as mentioned here
>>>>>>>>>>>>>>>>>>> <http://brlcad.org/wiki/Summer_of_Code/Acceptance>, is
>>>>>>>>>>>>>>>>>>> there a specific format (eg. in hard copy) or just a
>>>>>>>>>>>>>>>>>>> general mail in
>>>>>>>>>>>>>>>>>>> writing would do?
>>>>>>>>>>>>>>>>>>> - For daily updates, do I start a new thread with just
>>>>>>>>>>>>>>>>>>> my mentor and org-admin or in the group (also, in gsocax or
>>>>>>>>>>>>>>>>>>> in BRL-CAD
>>>>>>>>>>>>>>>>>>> developer mailing list?)
>>>>>>>>>>>>>>>>>>> - Would you prefer mail or other communication channel
>>>>>>>>>>>>>>>>>>> for daily update? And any preferred timings for interaction?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Warm Regards,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> *Sreyansh Kumhar Jain*
>>>>>>>>>>>>>>>>>>> 4th Year Undergraduate Student
>>>>>>>>>>>>>>>>>>> Department of Mechanical Engineering
>>>>>>>>>>>>>>>>>>> Indian Institute of Technology, Kharagpur
>>>>>>>>>>>>>>>>>>> *+91-9933958066*
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> sreyanshjai...@gmail.com
>>>>>>>>>>>>>>>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> |
>>>>>>>>>>>>>>>>>>> LinkedIn
>>>>>>>>>>>>>>>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Mar 26, 2018 at 8:42 AM, Sreyansh Jain <
>>>>>>>>>>>>>>>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> @Sean - Disabling bundled build does help a lot if not
>>>>>>>>>>>>>>>>>>>> completely.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> @Vasco - Thank you for the detailed instructions. While
>>>>>>>>>>>>>>>>>>>> working with r30379 version on Ubuntu 16.04, I got the
>>>>>>>>>>>>>>>>>>>> following few errors
>>>>>>>>>>>>>>>>>>>> as mentioned in the list attached. I've mentioned both
>>>>>>>>>>>>>>>>>>>> 'make' and 'make
>>>>>>>>>>>>>>>>>>>> -j4' results with the hope of better understanding. While
>>>>>>>>>>>>>>>>>>>> I try to tweak
>>>>>>>>>>>>>>>>>>>> the code a bit to make it work (like using expscan.h file
>>>>>>>>>>>>>>>>>>>> content), it
>>>>>>>>>>>>>>>>>>>> somehow leads to even more errors. Any clue? I'll now try
>>>>>>>>>>>>>>>>>>>> doing these on
>>>>>>>>>>>>>>>>>>>> Ubuntu 17.04 the way you mentioned.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Also, since the deadline is approaching regarding the
>>>>>>>>>>>>>>>>>>>> final proposal submission, do let me know if there are any
>>>>>>>>>>>>>>>>>>>> changes to be
>>>>>>>>>>>>>>>>>>>> made in the rough draft I submitted.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Warm Regards,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> *Sreyansh Kumhar Jain*
>>>>>>>>>>>>>>>>>>>> 4th Year Undergraduate Student
>>>>>>>>>>>>>>>>>>>> Department of Mechanical Engineering
>>>>>>>>>>>>>>>>>>>> Indian Institute of Technology, Kharagpur
>>>>>>>>>>>>>>>>>>>> *+91-9933958066*
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> sreyanshjai...@gmail.com
>>>>>>>>>>>>>>>>>>>> Facebook <https://www.facebook.com/sreyansh.sonu> |
>>>>>>>>>>>>>>>>>>>> LinkedIn
>>>>>>>>>>>>>>>>>>>> <https://www.linkedin.com/in/sreyansh-kumhar-jain-a61428104/>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Sat, Mar 24, 2018 at 9:46 AM, Christopher Sean
>>>>>>>>>>>>>>>>>>>> Morrison <brl...@mac.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mar 21, 2018, at 11:22 AM, Sreyansh Jain <
>>>>>>>>>>>>>>>>>>>>> sreyanshjai...@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I've tried symlinking awk to both gawk(4.1.3) and
>>>>>>>>>>>>>>>>>>>>> mawk, but I still get the same error. I'm using Ubuntu
>>>>>>>>>>>>>>>>>>>>> 16.04.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Also, I've made the changes in the proposal. Now that
>>>>>>>>>>>>>>>>>>>>> I'm aware roughly about the tasks to be done, I think
>>>>>>>>>>>>>>>>>>>>> it's better to stick
>>>>>>>>>>>>>>>>>>>>> to either one of BOT plate mode or BREP support. If time
>>>>>>>>>>>>>>>>>>>>> permits, I'll do
>>>>>>>>>>>>>>>>>>>>> the other. I'll do a bit of detailed background study in
>>>>>>>>>>>>>>>>>>>>> both cases to
>>>>>>>>>>>>>>>>>>>>> check which one should be plausible in the given time
>>>>>>>>>>>>>>>>>>>>> frame and update it
>>>>>>>>>>>>>>>>>>>>> in the proposal accordingly.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> There’s apparently some issue with our bundled libpng
>>>>>>>>>>>>>>>>>>>>> sources on your system. Does disabling bundled build
>>>>>>>>>>>>>>>>>>>>> work? We usually
>>>>>>>>>>>>>>>>>>>>> recommend bundled for simplicity, but the default should
>>>>>>>>>>>>>>>>>>>>> work too.
>>>>>>>>>>>>>>>>>>>>> Delete/Recreate your build directory, then reconfigure:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> cd to the brlcad sources directory
>>>>>>>>>>>>>>>>>>>>> rm -rf build
>>>>>>>>>>>>>>>>>>>>> mkdir build
>>>>>>>>>>>>>>>>>>>>> cd build
>>>>>>>>>>>>>>>>>>>>> cmake .. -DCMAKE_BUILD_TYPE=Release
>>>>>>>>>>>>>>>>>>>>> -DBRLCAD_ENABLE_OPENCL=ON
>>>>>>>>>>>>>>>>>>>>> make
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Cheers!
>>>>>>>>>>>>>>>>>>>>> Sean
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>>>>>>>>>>> ------------------------------------------------
>>>>>>>>>>>>>>>>>>>>> Check out the vibrant tech community on one of the
>>>>>>>>>>>>>>>>>>>>> world's most
>>>>>>>>>>>>>>>>>>>>> engaging tech sites, Slashdot.org!
>>>>>>>>>>>>>>>>>>>>> http://sdm.link/slashdot
>>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>>>>>>>>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/
>>>>>>>>>>>>>>>>>>>>> lists/listinfo/brlcad-devel
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>>>>>>>>> ------------------------------------------------
>>>>>>>>>>>>>>>>>>> Check out the vibrant tech community on one of the
>>>>>>>>>>>>>>>>>>> world's most
>>>>>>>>>>>>>>>>>>> engaging tech sites, Slashdot.org!
>>>>>>>>>>>>>>>>>>> http://sdm.link/slashdot
>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>>>>>>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/
>>>>>>>>>>>>>>>>>>> lists/listinfo/brlcad-devel
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Vasco Alexandre da Silva Costa
>>>>>>>>>>>>>>>>>> PhD in Computer Engineering (Computer Graphics)
>>>>>>>>>>>>>>>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Vasco Alexandre da Silva Costa
>>>>>>>>>>>>>>>>> PhD in Computer Engineering (Computer Graphics)
>>>>>>>>>>>>>>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>>>>>>> ------------------------------------------------
>>>>>>>>>>>>>>>>> Check out the vibrant tech community on one of the world's
>>>>>>>>>>>>>>>>> most
>>>>>>>>>>>>>>>>> engaging tech sites, Slashdot.org!
>>>>>>>>>>>>>>>>> http://sdm.link/slashdot
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>>>>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>>>>>> ------------------------------------------------
>>>>>>>>>>>>>>>> Check out the vibrant tech community on one of the world's
>>>>>>>>>>>>>>>> most
>>>>>>>>>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>>>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Vasco Alexandre da Silva Costa
>>>>>>>>>>>>>>> PhD in Computer Engineering (Computer Graphics)
>>>>>>>>>>>>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>>>>>>> ------------------
>>>>>>>>>>>>>>> Check out the vibrant tech community on one of the world's
>>>>>>>>>>>>>>> most
>>>>>>>>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>>>>>> ------------------
>>>>>>>>>>>>>> Check out the vibrant tech community on one of the world's
>>>>>>>>>>>>>> most
>>>>>>>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Vasco Alexandre da Silva Costa
>>>>>>>>>>>>> PhD in Computer Engineering (Computer Graphics)
>>>>>>>>>>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>>>>> ------------------
>>>>>>>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>>> ------------------
>>>>>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Vasco Alexandre da Silva Costa
>>>>>>>>>> PhD in Computer Engineering (Computer Graphics)
>>>>>>>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Vasco Alexandre da Silva Costa
>>>>>>>>> PhD in Computer Engineering (Computer Graphics)
>>>>>>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------
>>>>>>>>> ------------------
>>>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>>> _______________________________________________
>>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------
>>>>>>>> ------------------
>>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>> _______________________________________________
>>>>>>>> BRL-CAD Developer mailing list
>>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Vasco Alexandre da Silva Costa
>>>>>>> PhD in Computer Engineering (Computer Graphics)
>>>>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>>>>
>>>>>>> ------------------------------------------------------------
>>>>>>> ------------------
>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>> _______________________________________________
>>>>>>> BRL-CAD Developer mailing list
>>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------
>>>>>> ------------------
>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>> _______________________________________________
>>>>>> BRL-CAD Developer mailing list
>>>>>> brlcad-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Vasco Alexandre da Silva Costa
>>>>> PhD in Computer Engineering (Computer Graphics)
>>>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> _______________________________________________
>>>>> BRL-CAD Developer mailing list
>>>>> brlcad-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> BRL-CAD Developer mailing list
>>>> brlcad-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> Vasco Alexandre da Silva Costa
>>> PhD in Computer Engineering (Computer Graphics)
>>> Instituto Superior Técnico/University of Lisbon, Portugal
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> BRL-CAD Developer mailing list
>>> brlcad-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>>
>>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> BRL-CAD Developer mailing list
>> brlcad-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>>
>>
>
>
> --
> Vasco Alexandre da Silva Costa
> PhD in Computer Engineering (Computer Graphics)
> Instituto Superior Técnico/University of Lisbon, Portugal
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel