Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 18:08
    amitsingh19975 commented #151
  • 18:08
    amitsingh19975 closed #151
  • 18:08
    amitsingh19975 commented #151
  • 17:57
    Neel-Shah-29 commented #151
  • Jan 17 13:54
    apolukhin opened #153
  • Jan 17 07:34
    Neel-Shah-29 commented #151
  • Jan 17 07:31
    Neel-Shah-29 synchronize #151
  • Jan 16 21:06
    Neel-Shah-29 synchronize #151
  • Jan 16 20:44
    Neel-Shah-29 edited #151
  • Jan 16 16:01
    amitsingh19975 commented #151
  • Jan 16 16:00
    Neel-Shah-29 commented #151
  • Jan 16 15:46
    amitsingh19975 commented #151
  • Jan 16 15:45
    amitsingh19975 commented #151
  • Jan 16 15:44
    amitsingh19975 commented #151
  • Jan 16 15:40
    amitsingh19975 review_requested #151
  • Jan 16 15:40
    amitsingh19975 review_requested #151
  • Jan 16 15:40
    amitsingh19975 unassigned #150
  • Jan 16 15:40
    amitsingh19975 unassigned #150
  • Jan 16 15:39
    amitsingh19975 assigned #150
  • Jan 16 15:39
    amitsingh19975 assigned #150
Harjot Singh
@Harjot20022001

Maybe you're using master branch of ublas. This feature is in develop branch right now.

Sir, how to use the develop branch?

yashdabhade1
@yashdabhade1
hello , i am using boost ublas as a part of my code.
but since yesterday i am unable to open its documentation online
do we have an alternative for the boost website?
Cem Bassoy
@bassoy
@shikharvashistha could you assist @yashdabhade1 ?

Maybe you're using master branch of ublas. This feature is in develop branch right now.

Sir, how to use the develop branch?

https://github.com/boostorg/ublas/wiki/Guidelines-for-Contributors

Shikhar Vashistha
@shikharvashistha
@yashdabhade1 please find attached the link of our updated documentation http://boostorg.github.io/ublas/
yashdabhade1
@yashdabhade1
thank you :-)
Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 14-32-56.png
Hello i have cloned the repo in "boost/lib/numeric" in ublas folder as advised but when i am running the build command of b2 driver program for Boost.Build engine i am getting the following error what can be a solution to it.
amitsingh19975
@amitsingh19975
@Neel-Shah-29, did you read the message clearly? it's asking for a toolset (GCC, clang, or any other), which it is unable to find.
Neel-Shah-29
@Neel-Shah-29
yes i have installed g++ , clang++ 10,clang++ 11 before running that command
Cem Bassoy
@bassoy
4 replies
amitsingh19975
@amitsingh19975
maybe you are missing b2 config file or maybe you skipped it. If you have it, then read the b2 reference on how to provide a toolset.
8 replies
amitsingh19975
@amitsingh19975
Check if ~/user-config.jam exists or not. If not use the following command on the terminal.
echo "using gcc: : g++ ;" >> ~/user-config.jam;
Neel-Shah-29
@Neel-Shah-29
yes it was not existing so i ran the above command in terminal
now if i run ~/user-config.jam it shows permission denied.
amitsingh19975
@amitsingh19975
I think I told you that your home directory requires root permission.
This is common Linux knowledge.
Neel-Shah-29
@Neel-Shah-29
yes yes i gave the root permission
amitsingh19975
@amitsingh19975
Share the screen shot.
Neel-Shah-29
@Neel-Shah-29
is there any specific command whose screenshot you require? Kindly tell which command output screenshot should i share
amitsingh19975
@amitsingh19975
Leave it, I misconstrued your reply.
Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 22-14-57.png
Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 22-32-29.png
This much procedure i have followed now for running tests i need to follow https://github.com/boostorg/ublas/blob/develop/.github/workflows/linux.yml this right?
Screenshot from 2022-01-19 22-36-11.png
5 replies
amitsingh19975
@amitsingh19975

This is my user-config.jam.

using clang : : clang++ : <cxxflags>"-std=c++20" <linkflags>"" <link>"-lboost_unit_test_framework" ;

I think you need to check your binary see the name of the GCC binary there, and then put it in here, or check the b2 document on how to set gcc toolset.

Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 22-42-22.png
This is my user-config.jam should i replace the content here to what you sent?
amitsingh19975
@amitsingh19975
what's the version of your gcc?
Neel-Shah-29
@Neel-Shah-29
gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
amitsingh19975
@amitsingh19975
find the GCC binary name in the Linux binary folder, and try to replace it, something like this gcc-9: : g++-9.
check if it works.
also add <cxxflags>"-std=c++20" <linkflags>"" <link>"-lboost_unit_test_framework".
Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 23-34-05.png
1 reply
i need to replace gcc in bin folder by gcc-9: : g++-9 right?
amitsingh19975
@amitsingh19975
gcc also should work, but anyway, try it. Paste the following command as it is, and check again. Maybe you added some non-printable characters.
using gcc : : g++ : <cxxflags>"-std=c++20" <linkflags>"" <link>"-lboost_unit_test_framework" ;
7 replies
if the command does not work, add the gcc version next to it as specified above.
there is a space before and after :. Therefore, be careful while pasting.
Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-20 01-06-50.png
This is my user-config.jam. is it ok?
amitsingh19975
@amitsingh19975
Keep single toolset, and add double quotes as written in my command.
yashdabhade1
@yashdabhade1
can somebody please guide me with the proper usage of various functions on tensors using boost???
1 reply
yashdabhade1
@yashdabhade1
I have 3 links directing me to different documentation
Neel-Shah-29
@Neel-Shah-29
what is the substitution for this variables in the Test Tensor Examples variant=${{matrix.config.variant}} , optimization=${{matrix.config.opt}
actually i searched for matrix significance in script of github actions but was unable to find that
Neel-Shah-29
@Neel-Shah-29
Also is there any competency test or any project for ublas that i can start to learn its applications in more detail .
amitsingh19975
@amitsingh19975
Screenshot 2022-01-26 at 5.40.13 PM.png
1 reply
These are the values that will be substituted in place of those variables.

Also is there any competency test or any project for ublas that i can start to learn its applications in more detail .

It will come in due time, but, right now, why don't you fix the previous pull request.

9 replies