fix: Store HTTP telemetry values on Actors to ensure thread safety

Issue #
https://github.com/awslabs/aws-sdk-swift/issues/1705
Description of changes

Isolate accesses to HttpTelemetry and associated types by converting them to actor.
Meter callbacks have been made async to allow asynchronous calls on actors within.
A couple non-async SDKLogging methods have been marked non-async.
Telemetry access from URLSessionHTTPClient is performed on a separate Task that is spawned as a new request is started.
Telemetry access from the CRT HTTP client is performed on the current task since it is already being performed from an async context.

Scope

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing this PR because the use of Actors to hold telemetry data is incompatible with opentelemetry-swift, which does not generally have asynchronous APIs.
Will open a new PR which handles the data race in a way compatible with pre-Swift concurrency code.


Fix Copy Option

Hey @mfriesen there is an issue with the copy option:
https://lukasoppermann.github.io/html5sortable/index.html

[ ] The new items that are added to a sortable are not part of it, so we would need to reinit every time a copy is added to an item. (This is not so good, maybe we could fix this by fixing the general issue: adding new items to a sortable should automatically work, without the reinit: #312)
[ ] A bug in copy is that when I move a copied item onto an invalid target (and my copy start list has acceptFrom:false) the item still goes back to the parent. This could also be seen in a bigger picture so that dropping outside a valid target should cancel the sorting action (similar to when pressing esc #313)

@lukasoppermann I'll take a look at the reinit problem. I should have caught that problem.
For the second part are you saying that once you drop the 'copy' on a valid target the item is pointing to the original parent?

Nice, thank you for looking into it mate.
Concerning your question, to reproduce it in the github demo page:

drop any item to the empty list
try to drop another item (you will not be able to)
release the item
now there are 2 items of this type (e.g. item 2) in the right list.
Is this understandable?

Concerning the ID, I need to look into this, good catch.

Hey @mfriesen make sure to get a fresh pull of the master branch, quite a lot has changed. 😉

@lukasoppermann I can't get the test to pass now. Any ideas with the following errors?

Testing api
Initialization
"before each" hook for "should have a data-opts object":
TypeError: window.sortable is not a function
at Context. (test/api.js:32:14)

Testing ghost creation methods
sets the dataTransfer options correctly (_attachGhost):
TypeError: Cannot read property '__testing' of undefined
at Context. (test/ghost.js:50:21)

Hey @mfriesen I will merge the placeholderMap PR some time today. Do you think you can attack this issue when you have time? Because we need this fixed before we can create a release as copy is merged but currently has this bug. Thank you very much.

@lukasoppermann fixing this bug is what I'm trying to do. But in order to do it properly I need to extract break up the code inside of the
sortableElements.forEach(function (sortableElement) {

After my pull requests are merged, I will extract the
_on(items, 'drag event .,.', function (e)

to their own function. Then I believe I can fix this problem.

Perfect, that is what I thought. Thank you!


fix: Move pretty-format to dependencies array

The tsc compiler would fail with an error because it could not find the types for
pretty-format.
Fixes #473

The type is already bundled, please upgrade your vitest


[grid] rendering bug for frozen columns

https://github.com/user-attachments/assets/f19ff353-f150-46fe-9210-85275ecb4865

I’m really struggling to reproduce this…

@thure it specifically seemed to be happening when the grid lost attention while it was offscreen and then scrolled back to it afterwards.

Trying that:
https://github.com/user-attachments/assets/fe00ce30-84ef-4e79-9bbc-9e14d974647a
Maybe a weird temporary quirk with your browser? Did you try turning it off and back on again? 😅

I can't repro anymore either. Maybe your calculation changes yesterday fixed it.


Development: enable hot reload

It would be great if site could be automatically reloaded on sourcecode changes.
I saw that SO post that links to gulp-livereload and also browsersync.

Yes, might be nice to have. I guess BrowserSync would be the way to go, found these recipies in the official repo:
Minimal BrowserSync setup with Gulp 4
Server with live-reloading and CSS injection

If anyone is working on this, seems that yarn watch only works for the first change and does not rebuild afterwards on subsequent changes :/

I'm seeing the same issue actually - it's not 100% reproducible but happens quite often. Let's create a separate issue :).

#238


error when installing Torch

I met some errors when installing Torch:
_[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/THDiskFile.c.o
In file included from /home/nguyentha/torch7_06/pkg/torch/lib/TH/THVector.c:15:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:2:23: error: x86intrin.h: No such file or directory
In file included from /home/nguyentha/torch7_06/pkg/torch/lib/TH/THVector.c:15:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_fill_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:10: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:10: error: (Each undeclared identifier is reported only once
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:10: error: for each function it appears in.)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:10: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:12: error: implicit declaration of function ‘_mm_storeu_pd’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:12: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_cadd_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:25: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:25: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:26: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:28: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:28: error: implicit declaration of function ‘_mm_loadu_pd’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:29: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:30: error: implicit declaration of function ‘_mm_mul_pd’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:30: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:31: error: implicit declaration of function ‘_mm_add_pd’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_adds_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:41: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:41: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:42: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:44: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:45: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:46: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_cmul_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:59: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:59: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:60: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:61: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:62: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:63: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:64: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:65: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:66: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:67: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:67: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:68: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:68: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:69: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:69: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:70: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:70: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_muls_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:83: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:83: error: expected ‘;’ before ‘XMM15’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:85: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:86: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:87: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:88: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:89: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:90: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:91: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:92: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:93: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:94: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:95: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:96: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_cdiv_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:105: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:105: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:107: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:108: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:109: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:110: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:111: error: implicit declaration of function ‘_mm_div_pd’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_divs_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:123: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:123: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:124: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:126: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:127: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:128: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_fill_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:140: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:140: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:143: error: implicit declaration of function ‘_mm_storeu_ps’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:143: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_cadd_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:157: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:157: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:158: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:160: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:160: error: implicit declaration of function ‘_mm_loadu_ps’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:161: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:162: error: implicit declaration of function ‘_mm_mul_ps’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:162: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:163: error: implicit declaration of function ‘_mm_add_ps’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_adds_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:173: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:173: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:174: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:176: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:177: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:178: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_cmul_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:191: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:191: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:192: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:193: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:194: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:195: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:196: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:197: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:198: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:199: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:199: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:200: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:200: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:201: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:201: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:202: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:202: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_muls_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:215: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:215: error: expected ‘;’ before ‘XMM15’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:217: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:218: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:219: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:220: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:221: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:222: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:223: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:224: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:225: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:226: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:227: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:228: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_cdiv_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:237: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:237: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:239: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:240: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:241: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:242: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:243: error: implicit declaration of function ‘_mm_div_ps’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_divs_SSE’:
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:255: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:255: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:256: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:258: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:259: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch7_06/pkg/torch/lib/TH/vector/SSE.c:260: error: ‘XMM7’ undeclared (first use in this function)
make[2]: *** [lib/TH/CMakeFiles/TH.dir/THVector.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 51%] Linking C shared library libluaT.so
[ 51%] Built target luaT
make[1]: *** [lib/TH/CMakeFiles/TH.dir/all] Error 2
make: *** [all] Error 2
Error: Build error: Failed building._
Please help me to fix it. Thank you

What OS, what processor, what gcc? give a lot more details please. thank you.

OS: Linux 3.0.101-0.47.71-default x86_64 x86_64 x86_64 GNU/Linux
GCC: gcc/6.1.0
CPU: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, 32 processors, vendor_id	: GenuineIntel, cpu MHz		: 1200.000/processor

Ok, what distro? like Ubuntu 14.04, etc.?
And can you paste the full log, rather than just part of it that gives the error.
Thank you.

I used a server which has OS:
SUSE Linux Enterprise Server 11 SP3  (x86_64) - Kernel \r (\l)
Also, I pasted my log. Thank you so much for your help.
Prefix set to /home/nguyentha/torch0603/install
Installing Lua version: LUAJIT21
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 2.8 or higher is required.  You are running version 2.6.2
(base) nguyentha@mesu1:~/torch0603> module load cmake
(base) nguyentha@mesu1:~/torch0603> ./install.sh
Prefix set to /home/nguyentha/torch0603/install
Installing Lua version: LUAJIT21
which: no nvcc in (/opt/dev/cmake-3.6.0-rc1-Linux-x86_64//bin:/home/nguyentha/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/sgi/sgimc/bin:/opt/pbs/default/bin:/opt/pbs/default/sbin:/opt/intel/flexlm:/opt/dev/intel/eclipse:)
Installing common Lua packages
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c src/lfs.c -o src/lfs.o
gcc -shared -o lfs.so -L/home/nguyentha/torch0603/install/lib src/lfs.o
Updating manifest for /home/nguyentha/torch0603/install/lib/luarocks/rocks
luafilesystem 1.6.3-1 is now built and installed in /home/nguyentha/torch0603/install/ (license: MIT/X11)
Updating manifest for /home/nguyentha/torch0603/install/lib/luarocks/rocks
penlight scm-1 is now built and installed in /home/nguyentha/torch0603/install/ (license: MIT/X11)
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c lua_cjson.c -o lua_cjson.o
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c strbuf.c -o strbuf.o
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c fpconv.c -o fpconv.o
gcc -shared -o cjson.so -L/home/nguyentha/torch0603/install/lib lua_cjson.o strbuf.o fpconv.o
Updating manifest for /home/nguyentha/torch0603/install/lib/luarocks/rocks
lua-cjson 2.1devel-1 is now built and installed in /home/nguyentha/torch0603/install/ (license: MIT)
Installing core Torch packages
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c test.c -o test.o
gcc -shared -o ffi/libtest.so -L/home/nguyentha/torch0603/install/lib test.o
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c call.c -o call.o -Idynasm
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c ctype.c -o ctype.o -Idynasm
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c ffi.c -o ffi.o -Idynasm
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c parser.c -o parser.o -Idynasm
gcc -shared -o ffi.so -L/home/nguyentha/torch0603/install/lib call.o ctype.o ffi.o parser.o
Updating manifest for /home/nguyentha/torch0603/install/lib/luarocks/rocks
luaffi scm-1 is now built and installed in /home/nguyentha/torch0603/install/ (license: BSD)
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c src/autolink.c -o src/autolink.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c src/buffer.c -o src/buffer.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c src/markdown.c -o src/markdown.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c src/stack.c -o src/stack.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c html/houdini_href_e.c -o html/houdini_href_e.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c html/houdini_html_e.c -o html/houdini_html_e.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c html/html.c -o html/html.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch0603/install/include -c html/html_smartypants.c -o html/html_smartypants.o -Isrc/ -Ihtml/
gcc -shared -o libsundown.so -L/home/nguyentha/torch0603/install/lib src/autolink.o src/buffer.o src/markdown.o src/stack.o html/houdini_href_e.o html/houdini_html_e.o html/html.o html/html_smartypants.o
Updating manifest for /home/nguyentha/torch0603/install/lib/luarocks/rocks
sundown scm-1 is now built and installed in /home/nguyentha/torch0603/install/ (license: BSD)
Updating manifest for /home/nguyentha/torch0603/install/lib/luarocks/rocks
cwrap scm-1 is now built and installed in /home/nguyentha/torch0603/install/ (license: BSD)
Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUALIB= -DLUA_INCDIR="/home/nguyentha/torch0603/install/include" -DLUA_LIBDIR="/home/nguyentha/torch0603/install/lib" -DLUADIR="/home/nguyentha/torch0603/install/lib/luarocks/rocks/paths/scm-1/lua" -DLIBDIR="/home/nguyentha/torch0603/install/lib/luarocks/rocks/paths/scm-1/lib" -DCMAKE_INSTALL_PREFIX="/home/nguyentha/torch0603/install/lib/luarocks/rocks/paths/scm-1" && make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nguyentha/torch0603/pkg/paths/build
[100%] Built target paths
cd build && make install
[100%] Built target paths
Install the project...
-- Install configuration: "Release"
-- Installing: /home/nguyentha/torch0603/install/lib/luarocks/rocks/paths/scm-1/lua/paths/init.lua
-- Installing: /home/nguyentha/torch0603/install/lib/luarocks/rocks/paths/scm-1/lib/libpaths.so
Updating manifest for /home/nguyentha/torch0603/install/lib/luarocks/rocks
paths scm-1 is now built and installed in /home/nguyentha/torch0603/install/ (license: BSD)
Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUA=/home/nguyentha/torch0603/install/bin/luajit -DLUALIB= -DLUA_BINDIR="/home/nguyentha/torch0603/install/bin" -DLUA_INCDIR="/home/nguyentha/torch0603/install/include" -DLUA_LIBDIR="/home/nguyentha/torch0603/install/lib" -DLUADIR="/home/nguyentha/torch0603/install/lib/luarocks/rocks/torch/scm-1/lua" -DLIBDIR="/home/nguyentha/torch0603/install/lib/luarocks/rocks/torch/scm-1/lib" -DCMAKE_INSTALL_PREFIX="/home/nguyentha/torch0603/install/lib/luarocks/rocks/torch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN)
-- Compiling with OpenMP support
-- Compiling with OpenMP support
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- TH_SO_VERSION: 0
-- Atomics: using GCC intrinsics
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [openblas]
--   Library openblas: /usr/lib64/libopenblas.so
-- Found a library with BLAS API (open).
-- Found a library with LAPACK API. (open)
-- C inline is supported (inline)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nguyentha/torch0603/pkg/torch/build
[  5%] Built target luaT
[  8%] Building C object lib/TH/CMakeFiles/TH.dir/THVector.c.o
In file included from /home/nguyentha/torch0603/pkg/torch/lib/TH/THVector.c:15:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:2:23: error: x86intrin.h: No such file or directory
In file included from /home/nguyentha/torch0603/pkg/torch/lib/TH/THVector.c:15:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_fill_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:10: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:10: error: (Each undeclared identifier is reported only once
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:10: error: for each function it appears in.)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:10: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:12: error: implicit declaration of function ‘_mm_storeu_pd’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:12: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_cadd_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:25: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:25: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:26: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:28: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:28: error: implicit declaration of function ‘_mm_loadu_pd’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:29: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:30: error: implicit declaration of function ‘_mm_mul_pd’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:30: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:31: error: implicit declaration of function ‘_mm_add_pd’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_adds_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:41: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:41: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:42: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:44: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:45: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:46: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_cmul_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:59: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:59: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:60: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:61: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:62: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:63: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:64: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:65: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:66: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:67: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:67: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:68: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:68: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:69: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:69: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:70: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:70: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_muls_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:83: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:83: error: expected ‘;’ before ‘XMM15’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:85: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:86: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:87: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:88: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:89: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:90: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:91: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:92: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:93: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:94: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:95: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:96: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_cdiv_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:105: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:105: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:107: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:108: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:109: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:110: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:111: error: implicit declaration of function ‘_mm_div_pd’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_divs_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:123: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:123: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:124: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:126: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:127: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:128: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_fill_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:140: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:140: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:143: error: implicit declaration of function ‘_mm_storeu_ps’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:143: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_cadd_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:157: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:157: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:158: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:160: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:160: error: implicit declaration of function ‘_mm_loadu_ps’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:161: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:162: error: implicit declaration of function ‘_mm_mul_ps’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:162: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:163: error: implicit declaration of function ‘_mm_add_ps’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_adds_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:173: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:173: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:174: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:176: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:177: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:178: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_cmul_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:191: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:191: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:192: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:193: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:194: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:195: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:196: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:197: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:198: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:199: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:199: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:200: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:200: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:201: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:201: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:202: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:202: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_muls_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:215: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:215: error: expected ‘;’ before ‘XMM15’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:217: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:218: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:219: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:220: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:221: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:222: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:223: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:224: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:225: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:226: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:227: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:228: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_cdiv_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:237: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:237: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:239: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:240: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:241: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:242: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:243: error: implicit declaration of function ‘_mm_div_ps’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_divs_SSE’:
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:255: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:255: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:256: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:258: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:259: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch0603/pkg/torch/lib/TH/vector/SSE.c:260: error: ‘XMM7’ undeclared (first use in this function)
make[2]: *** [lib/TH/CMakeFiles/TH.dir/THVector.c.o] Error 1
make[1]: *** [lib/TH/CMakeFiles/TH.dir/all] Error 2
make: *** [all] Error 2
Error: Build error: Failed building.

I've pushed an update to this.
Can you remove the folder, and redownload it and install it, and let me know if you still see an error?
Thanks.

Hi, I still see the errors as below:
Thank you.
Installing Lua version: LUAJIT21
make[2]: Warning: File exe/luajit-rocks/luajit-2.1/CMakeFiles/minilua.dir/depend.make' has modification time 0.0021 s in the future make[2]: warning:  Clock skew detected.  Your build may be incomplete. make[2]: Warning: File exe/luajit-rocks/luajit-2.1/CMakeFiles/luajit-static.dir/depend.make' has modification time 0.003 s in the future
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `exe/luajit-rocks/luajit-2.1/CMakeFiles/luajit.dir/depend.make' has modification time 0.0028 s in the future
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
which: no nvcc in (/opt/dev/cmake-3.6.0-rc1-Linux-x86_64//bin:/home/nguyentha/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/sgi/sgimc/bin:/opt/pbs/default/bin:/opt/pbs/default/sbin:/opt/intel/flexlm:/opt/dev/intel/eclipse:)
Installing common Lua packages
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c src/lfs.c -o src/lfs.o
gcc -shared -o lfs.so -L/home/nguyentha/torch/install/lib src/lfs.o
Updating manifest for /home/nguyentha/torch/install/lib/luarocks/rocks
No existing manifest. Attempting to rebuild...
luafilesystem 1.6.3-1 is now built and installed in /home/nguyentha/torch/install/ (license: MIT/X11)
Updating manifest for /home/nguyentha/torch/install/lib/luarocks/rocks
penlight scm-1 is now built and installed in /home/nguyentha/torch/install/ (license: MIT/X11)
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c lua_cjson.c -o lua_cjson.o
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c strbuf.c -o strbuf.o
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c fpconv.c -o fpconv.o
gcc -shared -o cjson.so -L/home/nguyentha/torch/install/lib lua_cjson.o strbuf.o fpconv.o
Updating manifest for /home/nguyentha/torch/install/lib/luarocks/rocks
lua-cjson 2.1devel-1 is now built and installed in /home/nguyentha/torch/install/ (license: MIT)
Installing core Torch packages
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c test.c -o test.o
gcc -shared -o ffi/libtest.so -L/home/nguyentha/torch/install/lib test.o
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c call.c -o call.o -Idynasm
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c ctype.c -o ctype.o -Idynasm
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c ffi.c -o ffi.o -Idynasm
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c parser.c -o parser.o -Idynasm
gcc -shared -o ffi.so -L/home/nguyentha/torch/install/lib call.o ctype.o ffi.o parser.o
Updating manifest for /home/nguyentha/torch/install/lib/luarocks/rocks
luaffi scm-1 is now built and installed in /home/nguyentha/torch/install/ (license: BSD)
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c src/autolink.c -o src/autolink.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c src/buffer.c -o src/buffer.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c src/markdown.c -o src/markdown.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c src/stack.c -o src/stack.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c html/houdini_href_e.c -o html/houdini_href_e.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c html/houdini_html_e.c -o html/houdini_html_e.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c html/html.c -o html/html.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/nguyentha/torch/install/include -c html/html_smartypants.c -o html/html_smartypants.o -Isrc/ -Ihtml/
gcc -shared -o libsundown.so -L/home/nguyentha/torch/install/lib src/autolink.o src/buffer.o src/markdown.o src/stack.o html/houdini_href_e.o html/houdini_html_e.o html/html.o html/html_smartypants.o
Updating manifest for /home/nguyentha/torch/install/lib/luarocks/rocks
sundown scm-1 is now built and installed in /home/nguyentha/torch/install/ (license: BSD)
Updating manifest for /home/nguyentha/torch/install/lib/luarocks/rocks
cwrap scm-1 is now built and installed in /home/nguyentha/torch/install/ (license: BSD)
Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUALIB= -DLUA_INCDIR="/home/nguyentha/torch/install/include" -DLUA_LIBDIR="/home/nguyentha/torch/install/lib" -DLUADIR="/home/nguyentha/torch/install/lib/luarocks/rocks/paths/scm-1/lua" -DLIBDIR="/home/nguyentha/torch/install/lib/luarocks/rocks/paths/scm-1/lib" -DCMAKE_INSTALL_PREFIX="/home/nguyentha/torch/install/lib/luarocks/rocks/paths/scm-1" && make
-- The C compiler identification is GNU 4.3.4
-- The CXX compiler identification is GNU 4.3.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file time.h
-- Looking for include file time.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/ndir.h
-- Looking for include file sys/ndir.h - not found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file sys/dir.h
-- Looking for include file sys/dir.h - found
-- Looking for include file ndir.h
-- Looking for include file ndir.h - not found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nguyentha/torch/pkg/paths/build
Scanning dependencies of target paths
[ 50%] Building C object CMakeFiles/paths.dir/paths.c.o
[100%] Linking C shared module libpaths.so
CMakeFiles/paths.dir/paths.c.o: In function lua_tmpname': paths.c:(.text+0x5c7): warning: the use of tempnam' is dangerous, better use `mkstemp'
[100%] Built target paths
cd build && make install
[100%] Built target paths
Install the project...
-- Install configuration: "Release"
-- Installing: /home/nguyentha/torch/install/lib/luarocks/rocks/paths/scm-1/lua/paths/init.lua
-- Installing: /home/nguyentha/torch/install/lib/luarocks/rocks/paths/scm-1/lib/libpaths.so
Updating manifest for /home/nguyentha/torch/install/lib/luarocks/rocks
paths scm-1 is now built and installed in /home/nguyentha/torch/install/ (license: BSD)
Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUA=/home/nguyentha/torch/install/bin/luajit -DLUALIB= -DLUA_BINDIR="/home/nguyentha/torch/install/bin" -DLUA_INCDIR="/home/nguyentha/torch/install/include" -DLUA_LIBDIR="/home/nguyentha/torch/install/lib" -DLUADIR="/home/nguyentha/torch/install/lib/luarocks/rocks/torch/scm-1/lua" -DLIBDIR="/home/nguyentha/torch/install/lib/luarocks/rocks/torch/scm-1/lib" -DCMAKE_INSTALL_PREFIX="/home/nguyentha/torch/install/lib/luarocks/rocks/torch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN)
-- The C compiler identification is GNU 4.3.4
-- The CXX compiler identification is GNU 4.3.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Compiling with OpenMP support
-- Compiling with OpenMP support
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Performing Test HAVE_GCC_GET_CPUID
-- Performing Test HAVE_GCC_GET_CPUID - Success
-- Performing Test NO_GCC_EBX_FPIC_BUG
-- Performing Test NO_GCC_EBX_FPIC_BUG - Success
-- Performing Test C_HAS_SSE1_1
-- Performing Test C_HAS_SSE1_1 - Success
-- Performing Test C_HAS_SSE2_1
-- Performing Test C_HAS_SSE2_1 - Success
-- Performing Test C_HAS_SSE3_1
-- Performing Test C_HAS_SSE3_1 - Failed
-- Performing Test C_HAS_SSE3_2
-- Performing Test C_HAS_SSE3_2 - Success
-- Performing Test C_HAS_SSE4_1_1
-- Performing Test C_HAS_SSE4_1_1 - Failed
-- Performing Test C_HAS_SSE4_1_2
-- Performing Test C_HAS_SSE4_1_2 - Success
-- Performing Test C_HAS_SSE4_2_1
-- Performing Test C_HAS_SSE4_2_1 - Failed
-- Performing Test C_HAS_SSE4_2_2
-- Performing Test C_HAS_SSE4_2_2 - Success
-- Performing Test C_HAS_AVX_1
-- Performing Test C_HAS_AVX_1 - Failed
-- Performing Test C_HAS_AVX_2
-- Performing Test C_HAS_AVX_2 - Failed
-- Performing Test C_HAS_AVX_3
-- Performing Test C_HAS_AVX_3 - Failed
-- Performing Test C_HAS_AVX2_1
-- Performing Test C_HAS_AVX2_1 - Failed
-- Performing Test C_HAS_AVX2_2
-- Performing Test C_HAS_AVX2_2 - Failed
-- Performing Test C_HAS_AVX2_3
-- Performing Test C_HAS_AVX2_3 - Failed
-- Performing Test CXX_HAS_SSE1_1
-- Performing Test CXX_HAS_SSE1_1 - Success
-- Performing Test CXX_HAS_SSE2_1
-- Performing Test CXX_HAS_SSE2_1 - Success
-- Performing Test CXX_HAS_SSE3_1
-- Performing Test CXX_HAS_SSE3_1 - Failed
-- Performing Test CXX_HAS_SSE3_2
-- Performing Test CXX_HAS_SSE3_2 - Success
-- Performing Test CXX_HAS_SSE4_1_1
-- Performing Test CXX_HAS_SSE4_1_1 - Failed
-- Performing Test CXX_HAS_SSE4_1_2
-- Performing Test CXX_HAS_SSE4_1_2 - Success
-- Performing Test CXX_HAS_SSE4_2_1
-- Performing Test CXX_HAS_SSE4_2_1 - Failed
-- Performing Test CXX_HAS_SSE4_2_2
-- Performing Test CXX_HAS_SSE4_2_2 - Success
-- Performing Test CXX_HAS_AVX_1
-- Performing Test CXX_HAS_AVX_1 - Failed
-- Performing Test CXX_HAS_AVX_2
-- Performing Test CXX_HAS_AVX_2 - Failed
-- Performing Test CXX_HAS_AVX_3
-- Performing Test CXX_HAS_AVX_3 - Failed
-- Performing Test CXX_HAS_AVX2_1
-- Performing Test CXX_HAS_AVX2_1 - Failed
-- Performing Test CXX_HAS_AVX2_2
-- Performing Test CXX_HAS_AVX2_2 - Failed
-- Performing Test CXX_HAS_AVX2_3
-- Performing Test CXX_HAS_AVX2_3 - Failed
-- SSE2 Found
-- SSE3 Found
-- Performing Test HAS_C11_ATOMICS
-- Performing Test HAS_C11_ATOMICS - Failed
-- Performing Test HAS_MSC_ATOMICS
-- Performing Test HAS_MSC_ATOMICS - Failed
-- Performing Test HAS_GCC_ATOMICS
-- Performing Test HAS_GCC_ATOMICS - Success
-- TH_SO_VERSION: 0
-- Atomics: using GCC intrinsics
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [openblas]
--   Library openblas: /usr/lib64/libopenblas.so
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Performing Test BLAS_F2C_DOUBLE_WORKS
-- Performing Test BLAS_F2C_DOUBLE_WORKS - Failed
-- Performing Test BLAS_F2C_FLOAT_WORKS
-- Performing Test BLAS_F2C_FLOAT_WORKS - Success
-- Found a library with BLAS API (open).
-- Looking for cheev_
-- Looking for cheev_ - found
-- Found a library with LAPACK API. (open)
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for shm_open
-- Looking for shm_open - found
-- Looking for shm_unlink
-- Looking for shm_unlink - found
-- Looking for malloc_usable_size
-- Looking for malloc_usable_size - found
-- Performing Test C_HAS_THREAD
-- Performing Test C_HAS_THREAD - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nguyentha/torch/pkg/torch/build
Scanning dependencies of target luaT
Scanning dependencies of target TH
make[2]: Warning: File `lib/luaT/CMakeFiles/luaT.dir/depend.make' has modification time 0.0013 s in the future
[  2%] Building C object lib/luaT/CMakeFiles/luaT.dir/luaT.c.o
[ 20%] Building C object lib/TH/CMakeFiles/TH.dir/THStorage.c.o
[ 22%] Building C object lib/TH/CMakeFiles/TH.dir/THBlas.c.o
[ 28%] Building C object lib/TH/CMakeFiles/TH.dir/THAllocator.c.o
[ 37%] Building C object lib/TH/CMakeFiles/TH.dir/THHalf.c.o
[ 40%] Building C object lib/TH/CMakeFiles/TH.dir/THGeneral.c.o
[ 40%] Building C object lib/TH/CMakeFiles/TH.dir/THLogAdd.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/THMemoryFile.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/THFile.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/THTensor.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/THLapack.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/THRandom.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/THVector.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/THDiskFile.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve5x5_sse.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/THAtomic.c.o
In file included from /home/nguyentha/torch/pkg/torch/lib/TH/THVector.c:15:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:2:23: error: x86intrin.h: No such file or directory
In file included from /home/nguyentha/torch/pkg/torch/lib/TH/THVector.c:15:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_fill_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:10: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:10: error: (Each undeclared identifier is reported only once
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:10: error: for each function it appears in.)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:10: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:12: warning: implicit declaration of function ‘_mm_storeu_pd’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:12: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_cadd_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:25: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:25: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:26: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:28: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:28: warning: implicit declaration of function ‘_mm_loadu_pd’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:29: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:30: warning: implicit declaration of function ‘_mm_mul_pd’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:30: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:31: warning: implicit declaration of function ‘_mm_add_pd’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_adds_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:41: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:41: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:42: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:44: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:45: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:46: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_cmul_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:59: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:59: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:60: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:61: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:62: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:63: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:64: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:65: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:66: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:67: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:67: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:68: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:68: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:69: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:69: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:70: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:70: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_muls_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:83: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:83: error: expected ‘;’ before ‘XMM15’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:85: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:86: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:87: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:88: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:89: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:90: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:91: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:92: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:93: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:94: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:95: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:96: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_cdiv_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:105: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:105: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:107: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:108: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:109: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:110: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:111: warning: implicit declaration of function ‘_mm_div_pd’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THDoubleVector_divs_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:123: error: ‘__m128d’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:123: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:124: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:126: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:127: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:128: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_fill_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:140: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:140: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:143: warning: implicit declaration of function ‘_mm_storeu_ps’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:143: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_cadd_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:157: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:157: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:158: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:160: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:160: warning: implicit declaration of function ‘_mm_loadu_ps’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:161: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:162: warning: implicit declaration of function ‘_mm_mul_ps’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:162: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:163: warning: implicit declaration of function ‘_mm_add_ps’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_adds_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:173: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:173: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:174: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:176: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:177: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:178: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_cmul_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:191: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:191: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:192: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:193: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:194: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:195: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:196: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:197: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:198: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:199: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:199: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:200: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:200: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:201: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:201: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:202: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:202: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_muls_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:215: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:215: error: expected ‘;’ before ‘XMM15’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:217: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:218: error: expected ‘;’ before ‘XMM1’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:219: error: expected ‘;’ before ‘XMM2’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:220: error: expected ‘;’ before ‘XMM3’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:221: error: expected ‘;’ before ‘XMM4’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:222: error: expected ‘;’ before ‘XMM5’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:223: error: expected ‘;’ before ‘XMM6’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:224: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:225: error: ‘XMM4’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:226: error: ‘XMM5’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:227: error: ‘XMM6’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:228: error: ‘XMM7’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_cdiv_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:237: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:237: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:239: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:240: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:241: error: ‘XMM2’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:242: error: ‘XMM3’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:243: warning: implicit declaration of function ‘_mm_div_ps’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c: In function ‘THFloatVector_divs_SSE’:
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:255: error: ‘__m128’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:255: error: expected ‘;’ before ‘XMM7’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:256: error: expected ‘;’ before ‘XMM0’
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:258: error: ‘XMM0’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:259: error: ‘XMM1’ undeclared (first use in this function)
/home/nguyentha/torch/pkg/torch/lib/TH/vector/SSE.c:260: error: ‘XMM7’ undeclared (first use in this function)
make[2]: *** [lib/TH/CMakeFiles/TH.dir/THVector.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 51%] Linking C shared library libluaT.so
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[ 51%] Built target luaT
make[1]: *** [lib/TH/CMakeFiles/TH.dir/all] Error 2
make: *** [all] Error 2
Error: Build error: Failed building.

Hmmm, I cant quite see why x86intrin.h is missing from your system. It is typically available with all gcc compilers, especially gcc-6.
what is the output of: which gcc
If the output is: /foo/bar/bin/gcc, then can you run the command export CMAKE_PREFIX_PATH=/foo/bar:$CMAKE_PREFIX_PATH and then again try installing...

the result is opt/dev/anaconda3/envs/base/bin/gcc. I also tried export but it produces the same error. Also , I do not know why? How to get x86intrin.h for the system?

search for x86intrin.h on your system in /
See where it is located.

I found many locations where contain it:
./usr/lib64/gcc/x86_64-suse-linux/4.7/include/x86intrin.h
./usr/lib64/clang/3.3/include/x86intrin.h
./opt/dev/download/gcc/gcc-4.9.0/gcc/config/i386/x86intrin.h
./opt/dev/download/gcc/gcc-4.9.0/host-x86_64-unknown-linux-gnu/gcc/include/x86intrin.h
./opt/dev/download/gcc/gcc-6.3.0/gcc/config/i386/x86intrin.h
./opt/dev/intel/2015.0.022/composer_xe_2015.0.090/compiler/include/x86intrin.h
./opt/dev/intel/2016.update2/compilers_and_libraries_2016.2.181/linux/compiler/include/x86intrin.h
./opt/dev/intel/2017.1/compilers_and_libraries_2017.1.132/linux/compiler/include/icc/x86intrin.h

ok so can you activate a different compiler, like gcc-4.9.0 instead of module load  of the anaconda based gcc. Maybe module load gcc-4.9.0? I can conclude that it is a problem with the gcc that is shipping with your particular HPC anaconda, no one else has this issue.

You can also report it to your sysadmin, who can look further.

Thank you very much.


[release/3.1] Update hosted and BYOC agents used in our builds

dotnet/aspnetcore-internal#3540

NO-MERGE because the branches aren't open


the line that needs to be edited will not click and seems to be protected. I've refreshed restated and cleared to no avail. I thnk its a bug

Challenge Add Font Awesome Icons to all of our Buttons has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

      <button class="btn btn-block btn-primary"> Like</button>

      <button class="btn btn-block btn-info">Info</button>

      <button class="btn btn-block btn-danger">Delete</button>

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

  <form action="/submit-cat-photo">
    <input type="radio" name="indoor-outdoor"> Indoor
    <input type="radio" name="indoor-outdoor"> Outdoor
    <input type="checkbox" name="personality"> Loving
    <input type="checkbox" name="personality"> Lazy
    <input type="checkbox" name="personality"> Crazy
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>

If you're having trouble understanding a challenge or you have an issue with your code please ask for help in the official Gitter channel here. Furthermore, you can search in the public forums to see if someone has had a similar problem with this challenge.
If you believe something is wrong with the challenge itself please elaborate so we can begin to solve the potential bug.
Thank you!

@reever33 If you're still stuck on this, try pressing any key on the editor first. That should "unfreeze" the lines where you need to write your code at.

@reever33 you might be experiencing the "bug" in this issue https://github.com/freeCodeCamp/freeCodeCamp/issues/7847. Please reply if you are experiencing this bug or another.

Closing as stale. Please reply if you're experiencing this bug or the one I referenced previously. Happy coding!


https://wunki.org/files/freebsd-10.0-amd64-wunki.box

link broken

The new link appears to be broken now.

Yes, moved servers. Need to get my files over there as well. Fixed soon hopefully.


fix: update SCC profile to IBM Cloud Framework for Financial Services 1.7.0

/run pipeline

/run pipeline


z3_solver AttributeError: 'NoneType' object has no attribute 'as_string'

If I run the z3_solver with a public key, or a e and n I get:
[*] Performing z3_solver attack on ./key.pub.
[!] Timeout.
Traceback (most recent call last):
File "/home/lobsang/CTFtools/RsaCtfTool/./RsaCtfTool.py", line 292, in
attackobj.attack_single_key(publickey, attacks_list)
File "/home/lobsang/CTFtools/RsaCtfTool/lib/rsa_attack.py", line 209, in attack_single_key
self.priv_key, unciphered = attack_module.attack(
File "/home/lobsang/CTFtools/RsaCtfTool/attacks/single_key/z3_solver.py", line 49, in attack
publickey.p = p.as_string()
AttributeError: 'NoneType' object has no attribute 'as_string'
Maybe its me using the program the wrong way, but I could not fix it.
edit: I'm running this inside kali linux on wsl2

Fixed.


Problem with rules order

I have my rules defined like this:
grammar Language

  rule integer
    [0-9]+
  end

  rule identifier
    [a-z]+
  end

end

And when I try to parse any number, it's fine. But, when I try to parse any identifier, it don't work. Then, I inverted the rules and tried again, guess what?  I was able do parse identifiers and not integers. Somebody know what's happening here?

Treetop uses the top rule as its target.
You need another rule to allow either:
rule top
integer / identifier
end
Clifford Heath.
On 09/02/2012, at 3:17 PM, Douglas Camata wrote:

I have my rules defined like this:
grammar Language

 rule integer
   [0-9]+
 end

 rule identifier
   [a-z]+
 end

end

And when I try to parse any number, it's fine. But, when I try to parse any identifier, it don't work. Now, invert the rules anad try again. You'll be able do parse identifiers and not integers. Somebody know what's happening here?

Reply to this email directly or view it on GitHub:
https://github.com/nathansobo/treetop/issues/25

Worked like a charm. Thank you.

On 09/02/2012, at 3:43 PM, Douglas Camata wrote:

Worked like a charm. Thank you.

You wil also need to be aware that PEG parsers are greedy - every rule consumes as much input as possible
and will never retry once they have matched. You need to ensure that rules contain whatever patterns or
lookahead they need to avoid consuming too much.
In addition, when you have a list of alternatives (like number / identifier for example), the first to match is the
only match that will ever be tried - there's no retry once a rule has matched.
Clifford Heath.


allow to exclude notes in the Templates folder from moving

Hi,
A great plugin, thank you! Would it be possible to add a preference to exclude notes in a particular folder from moving? The Templates folder would contains templates for a particular type of note, including the tags used in the moving rules. But I would not want the template note moved automatically if I edit it.
Thanks!
Elena

Hi. The latest version has an exclude folder setting.
You can install and update directly from Obsidian.

That's great, thanks!


tests: add basic test server and probe success/fail tests

Describe your changes
This is mostly a POC PR for improving tests and code coverage.
This PR adds:

Test server for making probes
Test printer that simply implements printer interface but does nothing. Printers could\should be tester separately.
Example tests for handleConnSuccess/handleConnError

More tests could be added later as a part of other PRs
Checklist before requesting a review

[x] If it is a core feature, I have added tests.
[x] I have run make check and there are no failures.

Type of change

[x] Tests

Amazing work and addition to this project Alex!
Thank you


vs-popup not expanding vertically to contain list

Windows OS
npm v6.1.0
node v8.11.3
Chrome 67
I have a page made with some Vuesax tables. Within my page there is an option to open a selection of items in a popup. This popup is styled for printing so it's just black text on a white background.
Nothing really fancy in the popup. Just a couple buttons and a v-for to display the array. The popup window properly sizes as long as there aren't more item in the array than can fix vertically within the screens frame.

as directed by @dasisyouyu on discord the below code worked for me.
.con-popup>>>.vs-popup {
  overflow: scroll;
}

I will implement it in the component and I will advise you to review it, thank you very much for the contribution


Connect using New-PSDrive from the Portal (Azure File Share) needs fixing

Tried mounting a drive to my computer from the Azure File Share using the Powershell command (New-PSDrive) but got an error "The network resource type is not correct". Tried it on multiple system but still face the error. Can you kindly update the script.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c12f1ea9-6446-be01-22fe-885fb945d22c
Version Independent ID: 634f8ace-1a8c-6811-627b-fdfbdd1942a3
Content: Use an Azure file share with Windows
Content Source: articles/storage/files/storage-how-to-use-files-windows.md
Service: storage
GitHub Login: @RenaShahMSFT
Microsoft Alias: renash

@Paulooma Sorry for the delay response!
Just for clarification: Ensure port 445 is open: The SMB protocol requires TCP port 445 to be open; connections will fail if port 445 is blocked.
TcpTestSucceeded : True

@Paulooma Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.

I am trying to run the command and I get the same error.
I can successfully telnet to my blob file share on port 445.
Tried disabling firewall and restarting the computer but the issue still persists.
$connectTestResult = Test-NetConnection -ComputerName blob2020azure2505.file.core.windows.net -Port 445
if ($connectTestResult.TcpTestSucceeded) {
# Save the password so the drive will persist on reboot
cmd.exe /C "cmdkey /add:"blob.file.core.windows.net" /user:"Azure\blobazure5" /pass:`"""
# Mount the drive
New-PSDrive -Name E -PSProvider FileSystem -Root "\blob2020.file.core.windows.net\fs1onaz" -Persist
} else {
Write-Error -Message "Unable to reach the Azure storage account via port 445. Check to make sure your organization or ISP is not blocking port 445, or use Azure P2S VPN, Azure S2S VPN, or Express Route to tunnel SMB traffic over a different port."
}
ERROR MESSAGE:
New-PSDrive : The network resource type is not correct
Azure requests for authentication and when the powershell command authenticates, server responds back with an error. But when i check the powershell, it says
"CMDKEY: Credential added successfully."
Error on wireshark:

2233	239.257598	SMB2	131	Session Setup Response, Error: STATUS_INVALID_PARAMETER

487	15.298483		HTTP/XML	580	HTTP/1.1 400 The requested URI does not represent any resource on the server.

I am using the command from azure portal. So the storage account and the file share do exist on azure.

You can close it. It was issue with my laptop's NTLM registry settings.
found the troubleshooting script from Technet and identified issue
https://gallery.technet.microsoft.com/Troubleshooting-tool-for-a9fa1fe5

The link is broken. I have exactly the same problem.
Logged in to Azure, ran the command copied from the Azure Portal Connect pane. Exactly the same issue.
@ankitjoshi8518 - can you share the details or provide a live link?
Thank you.

@MarkKharitonov check your NTLM settings - https://docs.microsoft.com/en-us/azure/storage/files/storage-troubleshoot-windows-file-connection-problems#cause-2-ntlmv1-is-enabled

I have the same issue using a Win 11 client.
Command:
New-PSDrive -Name Z -PSProvider FileSystem -Root "\saaadkerberosdemo001.file.core.windows.net\demo" -Persist
Error:
New-PSDrive : The network resource type is not correct

If I hit the exact same command, but without the persist parameter, it works fine, but of course I can't access it in the Explorer.

Any ideas?

@grabery  I'd recommend posting your question in https://azure.microsoft.com/en-us/support/community/ since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

I don't see any resolution in here . Anyone has solved the issue on this case ?

Same issue here as @grabery

I don't see any resolution in here . Anyone has solved the issue on this case ?

Try the above solution


Several glitches in IE11

Context
After the last changes / blunders in Builder, I've checked it IE11 and found a couple of issues.
Broken bubble legends
No explanation. Just create a bubble legend.

Ghost attribution toolbar
This was happening in some other browsers and it was fixed, but it's still on IE. In the middle breakpoint, the space reserved for the bottom bar is kept but nothing shows up.
STR

Check that the map has show toolbar checked.
Publish the map.
Go to the embed page.
Resize the screen. The blank footer will show up.

Note: this only happens when resizing. If you refresh the page on that particular breakpoint, the footer is filled up.

cc @ztephm @makella

This is a very weird bug. In the same windows machine and using the same version of assets, servers, etc, it fails when is loaded from a production or a staging server and works when is loaded from my local build. So I can not reproduce the bug in my local environment.

Minification is probably mangling something, I've encountered issues like this before with
Actually, the bubble legend did break a few months ago on IE, but it should've been fixed. Let me look it up

@Jesus89 maybe this helps?
https://github.com/CartoDB/cartodb/pull/12602

Thanks @rjimenezda. I have replicated the issue adding the uglify in the local build (npm run build).
So let's check the uglify again! :muscle:

This is the last PR to fix legends in IE11: https://github.com/CartoDB/cartodb.js/pull/2019

🎉 well done!!! 🎉

I have tested all the cases mentioned in https://github.com/CartoDB/cartodb.js/pull/2064 and all of them are fixed!

Closed in https://github.com/CartoDB/cartodb/pull/13640

:boom:


How to listen load-finished signal, get js execution result as string and take jpg/png/etc page snapshot?

Hello!
I'm trying to make hobby project with embedding some browser engine and automate it:

load page in background
submit forms, trigger clicks on some navigation links
get results: values and page image

I'm do't want use webdriver and standalone browsers for that.
webkit2gtk-rs is good enough but I can't find any ways to:

Determine when document is ready. How to listen load-finished signal?
Get result of js execution as string.
Get page snapshot.

Where is my research code:

loads https://crates.io/
wait 3 seconds
grab number of downloads by evaluating parseInt(document.querySelector('.num').innerHTML.split(',').join(''))
exit

[dependencies]
glib = "0.3.1"
glib-sys = "0.4.0"
webkit2gtk = "0.2.2"
webkit2gtk-sys = "0.4.0"
gtk = "0.2.0"
gobject-sys = "0.4.0"

extern crate glib;
extern crate gtk;
extern crate webkit2gtk;
extern crate webkit2gtk_sys as ffi;
extern crate glib_sys as glib_ffi;
extern crate gobject_sys as gobject_ffi;

use std::mem::transmute;

use gtk::{ContainerExt, Inhibit, WidgetExt, Window, WindowType, Continue};
use webkit2gtk::{SettingsExt, WebContext, WebView, WebViewExt, WebViewExtManual};

use glib::{IsA};
use glib::signal::connect;

fn main() {
    gtk::init().unwrap();

    let window = Window::new(WindowType::Toplevel);
    let context = WebContext::get_default().unwrap();

    let webview = WebView::new_with_context(&context);
    webview.load_uri("https://crates.io/");
    window.add(&webview);

    let settings = WebViewExt::get_settings(&webview).unwrap();
    settings.set_enable_developer_extras(true);

    // window.show_all();

    // 1. How to connect to `load-finished` signal?
    connect_notify("notify::load-finished", &webview, || {
        println!("notify::load-finished");
    });

    gtk::timeout_add(3000, move || {
        let js = "parseInt(document.querySelector('.num').innerHTML.split(',').join(''))";
        webview.run_javascript_with_callback(js, move |result| {
            match result {
                Ok(result) => {
                    let context = result.get_global_context().unwrap();
                    let value = result.get_value().unwrap();
                    // 2. How to get value as string?
                    println!("Downloads count by `{}`: {:?}", js, value.to_number(&context));
                    // 3. Hot to take png/jpg page snapshot?
                    gtk::main_quit();
                },
                Err(error) => {
                    println!("Some error: {}", error);
                    gtk::main_quit();
                }

            }
        });
        Continue(false)
    });

    window.connect_delete_event(|_, _| {
        gtk::main_quit();
        Inhibit(false)
    });

    gtk::main();
}

fn connect_notify<F: Fn() + 'static, O: IsA<WebView>>(property_name: &str, view: &O, callback: F) {
    let callback: Box<Box<Fn() + 'static>> = Box::new(Box::new(callback));
    let this: *mut ffi::WebKitWebView = view.to_glib_none().0;
    unsafe {
        connect(this as *mut _, &format!("{}", property_name), transmute(notify_trampoline as usize), Box::into_raw(callback) as *mut _);
    }
}

unsafe extern "C" fn notify_trampoline(_gobject: *mut gobject_ffi::GObject, _pspec: *mut gobject_ffi::GParamSpec, user_data: glib_ffi::gpointer) {
    let callback: &Box<Fn() + 'static> = transmute(user_data);
    callback();
}

Sorry about my poor English.

To know when the document is ready, you'll have to create a web extension .
But that's probably overkill.
Maybe you can get something working with connect_load_changed() and checking if the load event is Finished.
It looks like the API cannot get the value as a string, for now.
It needs to be implemented.
By snapshot, do you mean a screenshot, i.e. an image on the current webpage?
If it is the case, look at this example here.

For document ready event would be enough implement something wait until exists

  gtk::timeout_add(N, move || {
        webview.run_javascript_with_callback("document.querySelector('<target element selector>')...", move |result| {
            match result {
                Ok(result) => {
                    // next step
                },
                Err(error) => {
                   // not ready yet
                }

            }
        });
        Continue(true)
    });

It looks like the API cannot get the value as a string, for now.

Hm... it's "blocker" for me. May be I can implement it by my self )
Can you give me some pointers?

Yes. I need a screenshot of the current page.
You example works for me!

Thank you for you answers, and for the gtk-rs and for the relm too )

To get a string, you'd need to add the missing binding function in this file and write a safe wrapper in this one.
Thanks.


Update Composer dependencies (2021-11-11-21-13)

Visual regression test passed!
View the visual regression test report


[JavaScript] prints may crash on internet explorer

console.log.call does not work very well on internet explorer 11.

Just to make things more fun, the behaviour is different whether the developer tools are open or not.

I am tempted to tag it as won't fix :-)

Yeah, I miss SINTEF for that.